I - input symbol typepublic class GrowingMapAlphabet<I> extends MapAlphabet<I> implements GrowingAlphabet<I>
MapAlphabet that also allows adding new symbol after construction.indexMap, symbolsmodCount| Constructor and Description |
|---|
GrowingMapAlphabet() |
GrowingMapAlphabet(Collection<? extends I> symbols) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(I a) |
int |
addSymbol(I a) |
containsSymbol, getSymbol, getSymbolIndex, sizegetadd, 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, waitapply, applyAsInt, compare, containsSymbol, getSymbol, getSymbolIndex, translateFrom, writeToArraysizeaddAll, 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, isEmpty, remove, removeAll, replaceAll, retainAll, sort, spliterator, toArray, toArraypublic GrowingMapAlphabet()
public GrowingMapAlphabet(Collection<? extends I> symbols)
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>Copyright © 2020. All rights reserved.