public class ListShortList extends AbstractListShortList implements java.io.Serializable
Number-valued List
to the ShortList 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 |
|---|
ListShortList(java.util.List list)
Creates an
ShortList wrapping
the specified List. |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.List |
getList() |
static ShortList |
wrap(java.util.List list)
Create an
ShortList wrapping
the specified List. |
add, addAll, equals, get, getCollection, hashCode, indexOf, lastIndexOf, listIterator, listIterator, removeElementAt, set, subListadd, addAll, clear, contains, containsAll, isEmpty, iterator, removeAll, removeElement, retainAll, size, toArray, toArray, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddAll, clear, contains, containsAll, isEmpty, removeAll, removeElement, retainAll, size, toArray, toArraypublic ListShortList(java.util.List list)
ShortList wrapping
the specified List.wrap(java.util.List)public static ShortList wrap(java.util.List list)
list - the (possibly null)
List to wrapShortList wrapping the given
list, or null when list is
null.protected java.util.List getList()
getList in class AbstractListShortListCopyright (c) 2002-2003 - Apache Software Foundation