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, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddAll, contains, containsAll, isEmpty, remove, removeAll, replaceAll, retainAll, sort, spliterator, toArray, toArrayparallelStream, removeIf, streampublic 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 © 2020 BioJava. All rights reserved.