public class DefaultVPDAlphabet<I> extends AbstractVPDAlphabet<I>
VPDAlphabet.VPDAlphabet.SymbolTypemodCount| Constructor and Description |
|---|
DefaultVPDAlphabet(Collection<I> internalSymbols,
Collection<I> callSymbols,
Collection<I> returnSymbols) |
| Modifier and Type | Method and Description |
|---|---|
I |
getCallSymbol(int index) |
int |
getCallSymbolIndex(I symbol) |
Collection<I> |
getCallSymbols() |
I |
getInternalSymbol(int index) |
int |
getInternalSymbolIndex(I symbol) |
Collection<I> |
getInternalSymbols() |
int |
getNumCalls() |
int |
getNumInternals() |
int |
getNumReturns() |
I |
getReturnSymbol(int index) |
int |
getReturnSymbolIndex(I symbol) |
Collection<I> |
getReturnSymbols() |
I |
getSymbol(int index) |
int |
getSymbolIndex(I symbol) |
VPDAlphabet.SymbolType |
getSymbolType(I symbol) |
int |
size() |
getCallAlphabet, getInternalAlphabet, getReturnAlphabetgetadd, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subListaddAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringclone, equals, finalize, getClass, notify, notifyAll, wait, wait, waitcallReturnBalance, isCallMatched, isCallSymbol, isInternalSymbol, isReturnMatched, isReturnSymbol, isWellMatched, longestWellMatchedPrefix, longestWellMatchedSuffixapply, applyAsInt, compare, containsSymbol, 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 DefaultVPDAlphabet(Collection<I> internalSymbols, Collection<I> callSymbols, Collection<I> returnSymbols)
public I getCallSymbol(int index) throws IllegalArgumentException
IllegalArgumentExceptionpublic int getCallSymbolIndex(I symbol) throws IllegalArgumentException
IllegalArgumentExceptionpublic Collection<I> getCallSymbols()
public I getInternalSymbol(int index) throws IllegalArgumentException
IllegalArgumentExceptionpublic int getInternalSymbolIndex(I symbol) throws IllegalArgumentException
IllegalArgumentExceptionpublic Collection<I> getInternalSymbols()
public I getReturnSymbol(int index) throws IllegalArgumentException
IllegalArgumentExceptionpublic int getReturnSymbolIndex(I symbol) throws IllegalArgumentException
IllegalArgumentExceptionpublic Collection<I> getReturnSymbols()
public int getNumCalls()
public int getNumInternals()
public int getNumReturns()
public VPDAlphabet.SymbolType getSymbolType(I symbol)
@Nullable public I getSymbol(int index) throws IllegalArgumentException
IllegalArgumentExceptionpublic int getSymbolIndex(@Nullable 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 © 2019. All rights reserved.