public final class ByteListList extends Object implements Serializable
ByteList
to the
List
interface.
This implementation delegates most methods
to the provided ByteList
implementation in the "obvious" way.Constructor and Description |
---|
ByteListList(ByteList list)
|
Modifier and Type | Method and Description |
---|---|
void |
add(int index,
Object element) |
boolean |
add(Object element) |
boolean |
addAll(Collection c) |
boolean |
addAll(int index,
Collection c) |
void |
clear() |
boolean |
contains(Object element) |
boolean |
containsAll(Collection c) |
boolean |
equals(Object obj) |
Object |
get(int index) |
protected ByteCollection |
getByteCollection() |
protected ByteList |
getByteList() |
int |
hashCode() |
int |
indexOf(Object element) |
boolean |
isEmpty() |
Iterator |
iterator()
|
int |
lastIndexOf(Object element) |
ListIterator |
listIterator()
|
ListIterator |
listIterator(int index)
|
Object |
remove(int index) |
boolean |
remove(Object element) |
boolean |
removeAll(Collection c) |
boolean |
retainAll(Collection c) |
Object |
set(int index,
Object element) |
int |
size() |
List |
subList(int fromIndex,
int toIndex) |
Object[] |
toArray() |
Object[] |
toArray(Object[] A) |
String |
toString() |
static List |
wrap(ByteList list)
|
public ByteListList(ByteList list)
protected ByteList getByteList()
public boolean addAll(int index, Collection c)
public int lastIndexOf(Object element)
lastIndexOf
in interface List
public ListIterator listIterator()
listIterator
in interface List
public ListIterator listIterator(int index)
listIterator
in interface List
public int hashCode()
protected final ByteCollection getByteCollection()
public boolean add(Object element)
add
in interface Collection
public boolean addAll(Collection c)
addAll
in interface Collection
public void clear()
clear
in interface Collection
public boolean contains(Object element)
contains
in interface Collection
public boolean containsAll(Collection c)
containsAll
in interface Collection
public boolean isEmpty()
isEmpty
in interface Collection
public Iterator iterator()
iterator
in interface Iterable
iterator
in interface Collection
public boolean remove(Object element)
remove
in interface Collection
public boolean removeAll(Collection c)
removeAll
in interface Collection
public boolean retainAll(Collection c)
retainAll
in interface Collection
public int size()
size
in interface Collection
public Object[] toArray()
toArray
in interface Collection
public Object[] toArray(Object[] A)
toArray
in interface Collection
Copyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.