public final class CharListList extends Object implements Serializable
CharList to the
List interface.
This implementation delegates most methods
to the provided CharList
implementation in the "obvious" way.| Constructor and Description |
|---|
CharListList(CharList 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 CharCollection |
getCharCollection() |
protected CharList |
getCharList() |
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(CharList list)
|
public CharListList(CharList list)
protected CharList getCharList()
public boolean addAll(int index, Collection c)
public int lastIndexOf(Object element)
lastIndexOf in interface Listpublic ListIterator listIterator()
listIterator in interface Listpublic ListIterator listIterator(int index)
listIterator in interface Listpublic int hashCode()
protected final CharCollection getCharCollection()
public boolean add(Object element)
add in interface Collectionpublic boolean addAll(Collection c)
addAll in interface Collectionpublic void clear()
clear in interface Collectionpublic boolean contains(Object element)
contains in interface Collectionpublic boolean containsAll(Collection c)
containsAll in interface Collectionpublic boolean isEmpty()
isEmpty in interface Collectionpublic Iterator iterator()
iterator in interface Iterableiterator in interface Collectionpublic boolean remove(Object element)
remove in interface Collectionpublic boolean removeAll(Collection c)
removeAll in interface Collectionpublic boolean retainAll(Collection c)
retainAll in interface Collectionpublic int size()
size in interface Collectionpublic Object[] toArray()
toArray in interface Collectionpublic Object[] toArray(Object[] A)
toArray in interface CollectionCopyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.