I - input symbol class.public class FastAlphabet<I extends MutableNumericID> extends DynamicList<I> implements GrowingAlphabet<I>
modCount| Constructor and Description |
|---|
FastAlphabet() |
FastAlphabet(I... symbols) |
FastAlphabet(List<? extends I> symbols) |
| Modifier and Type | Method and Description |
|---|---|
int |
addSymbol(I a) |
int |
compare(I o1,
I o2) |
boolean |
containsSymbol(I symbol) |
I |
getSymbol(int index) |
int |
getSymbolIndex(I symbol) |
add, clear, get, isEmpty, iterator, remove, remove, remove, safeGet, size, swap, writeToArrayadd, addAll, equals, hashCode, indexOf, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subListaddAll, contains, containsAll, removeAll, retainAll, toArray, toArray, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitapply, applyAsInt, translateFrom, writeToArraysizeadd, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, parallelStream, remove, removeAll, removeIf, retainAll, size, spliterator, stream, toArray, toArraycomparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongaddAll, contains, containsAll, removeAll, replaceAll, retainAll, sort, spliterator, toArray, toArraypublic FastAlphabet()
@SafeVarargs public FastAlphabet(I... symbols)
@Nonnull public I getSymbol(int index)
getSymbol in interface Alphabet<I extends MutableNumericID>public int getSymbolIndex(@Nonnull I symbol)
getSymbolIndex in interface Alphabet<I extends MutableNumericID>public int addSymbol(@Nonnull I a)
addSymbol in interface GrowingAlphabet<I extends MutableNumericID>public int compare(@Nonnull I o1, @Nonnull I o2)
compare in interface Comparator<I extends MutableNumericID>compare in interface Alphabet<I extends MutableNumericID>public boolean containsSymbol(I symbol)
containsSymbol in interface Alphabet<I extends MutableNumericID>Copyright © 2015. All Rights Reserved.