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, subList
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
public SingletonList(Object obj)
public int size()
size
in interface Collection
size
in interface List
size
in class AbstractCollection
public Object get(int i) throws IndexOutOfBoundsException
get
in interface List
get
in class AbstractList
IndexOutOfBoundsException
Copyright © 2014 BioJava. All rights reserved.