public class ListAlphabet<I> extends AbstractAlphabet<I>
modCount| Constructor and Description |
|---|
ListAlphabet(List<? extends I> list) |
| Modifier and Type | Method and Description |
|---|---|
I |
get(int index) |
I |
getSymbol(int index) |
int |
getSymbolIndex(I symbol) |
int |
size() |
compare, writeToArrayadd, 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, waitadd, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, toArray, toArrayequalspublic ListAlphabet(List<? extends I> list)
public I getSymbol(int index) throws IllegalArgumentException
IllegalArgumentExceptionpublic int getSymbolIndex(I symbol) throws IllegalArgumentException
IllegalArgumentExceptionpublic int size()
size in interface Collection<I>size in interface List<I>size in interface ArrayWritable<I>size in class AbstractCollection<I>Copyright © 2013. All Rights Reserved.