public class SmallSet extends AbstractSet
This implementation has the useful property that the iteration order is the same as the order in which the items are added.
| Constructor and Description | 
|---|
| SmallSet() | 
| SmallSet(Collection col) | 
| SmallSet(int size) | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | add(Object o) | 
| boolean | contains(Object o) | 
| Iterator | iterator() | 
| int | size() | 
equals, hashCode, removeAlladdAll, clear, containsAll, isEmpty, remove, retainAll, toArray, toArray, toStringpublic SmallSet()
public SmallSet(int size)
public SmallSet(Collection col)
public boolean contains(Object o)
contains in interface Collectioncontains in interface Setcontains in class AbstractCollectionpublic int size()
size in interface Collectionsize in interface Setsize in class AbstractCollectionpublic boolean add(Object o)
add in interface Collectionadd in interface Setadd in class AbstractCollectionpublic Iterator iterator()
iterator in interface Iterableiterator in interface Collectioniterator in interface Setiterator in class AbstractCollectionCopyright © 2014 BioJava. All rights reserved.