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