public class SingletonList extends AbstractList
modCount| Modifier and Type | Method and Description |
|---|---|
Object |
get(int i) |
Iterator |
iterator() |
ListIterator |
listIterator() |
ListIterator |
listIterator(int i) |
static SingletonList |
newSingletonList(Object o) |
int |
size() |
add, add, addAll, clear, equals, hashCode, indexOf, lastIndexOf, remove, removeRange, set, subListaddAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringpublic static SingletonList newSingletonList(Object o)
public Object get(int i)
get in interface Listget in class AbstractListpublic int size()
size in interface Collectionsize in interface Listsize in class AbstractCollectionpublic ListIterator listIterator()
listIterator in interface ListlistIterator in class AbstractListpublic ListIterator listIterator(int i)
listIterator in interface ListlistIterator in class AbstractListpublic Iterator iterator()
iterator in interface Iterableiterator in interface Collectioniterator in interface Listiterator in class AbstractListCopyright © 2013. All rights reserved.