public class SingletonList extends AbstractList implements Serializable
modCount| Constructor and Description |
|---|
SingletonList(Object obj) |
| Modifier and Type | Method and Description |
|---|---|
Object |
get(int i) |
int |
size() |
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subListaddAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringpublic SingletonList(Object obj)
public int size()
size in interface Collectionsize in interface Listsize in class AbstractCollectionpublic Object get(int i) throws IndexOutOfBoundsException
get in interface Listget in class AbstractListIndexOutOfBoundsExceptionCopyright © 2014 BioJava. All rights reserved.