public class ListCharList extends AbstractListCharList implements java.io.Serializable
Number
-valued List
to the CharList
interface.
This implementation delegates most methods
to the provided List
implementation in the "obvious" way.Modifier and Type | Field and Description |
---|---|
private java.util.List |
_list |
Constructor and Description |
---|
ListCharList(java.util.List list)
Creates an
CharList wrapping
the specified List . |
Modifier and Type | Method and Description |
---|---|
protected java.util.List |
getList() |
java.lang.String |
toString() |
static CharList |
wrap(java.util.List list)
Create an
CharList wrapping
the specified List . |
add, addAll, equals, get, getCollection, hashCode, indexOf, lastIndexOf, listIterator, listIterator, removeElementAt, set, subList
add, addAll, clear, contains, containsAll, isEmpty, iterator, removeAll, removeElement, retainAll, size, toArray, toArray
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
addAll, clear, contains, containsAll, isEmpty, removeAll, removeElement, retainAll, size, toArray, toArray
public ListCharList(java.util.List list)
CharList
wrapping
the specified List
.wrap(java.util.List)
public static CharList wrap(java.util.List list)
list
- the (possibly null
)
List
to wrapCharList
wrapping the given
list, or null
when list is
null
.public java.lang.String toString()
toString
in class AbstractCollectionCharCollection
protected java.util.List getList()
getList
in class AbstractListCharList
Copyright (c) 2002-2003 - Apache Software Foundation