I - input symbol class.public class SimpleAlphabet<I> extends AbstractAlphabet<I> implements GrowingAlphabet<I>
modCount| Constructor and Description |
|---|
SimpleAlphabet() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(I a) |
int |
addSymbol(I a) |
int |
compare(I o1,
I o2) |
I |
get(int index) |
I |
getSymbol(int index) |
int |
getSymbolIndex(I symbol) |
Iterator<I> |
iterator() |
int |
size() |
writeToArrayadd, addAll, clear, equals, hashCode, indexOf, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subListaddAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitwriteToArrayaddAll, clear, contains, containsAll, equals, hashCode, isEmpty, remove, removeAll, retainAll, toArray, toArrayequalspublic SimpleAlphabet()
public boolean add(I a)
add in interface Collection<I>add in interface List<I>add in class AbstractList<I>public int addSymbol(I a)
addSymbol in interface GrowingAlphabet<I>public int size()
size in interface Collection<I>size in interface List<I>size in interface ArrayWritable<I>size in class AbstractCollection<I>public int getSymbolIndex(I symbol)
getSymbolIndex in interface Alphabet<I>public int compare(I o1, I o2)
compare in interface Comparator<I>compare in class AbstractAlphabet<I>Copyright © 2013. All Rights Reserved.