public abstract class AbstractVPDAlphabet<I> extends AbstractAlphabet<I> implements VPDAlphabet<I>
VPDAlphabet.SymbolTypemodCount| Constructor and Description |
|---|
AbstractVPDAlphabet(Alphabet<I> internalAlphabet,
Alphabet<I> callAlphabet,
Alphabet<I> returnAlphabet) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsSymbol(I symbol) |
Alphabet<I> |
getCallAlphabet() |
I |
getCallSymbol(int index) |
int |
getCallSymbolIndex(I symbol) |
Alphabet<I> |
getInternalAlphabet() |
I |
getInternalSymbol(int index) |
int |
getInternalSymbolIndex(I symbol) |
int |
getNumCalls() |
int |
getNumInternals() |
int |
getNumReturns() |
Alphabet<I> |
getReturnAlphabet() |
I |
getReturnSymbol(int index) |
int |
getReturnSymbolIndex(I symbol) |
I |
getSymbol(int index) |
int |
getSymbolIndex(I symbol) |
VPDAlphabet.SymbolType |
getSymbolType(I symbol) |
int |
size() |
getadd, 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, waitcallReturnBalance, isCallMatched, isCallSymbol, isInternalSymbol, isReturnMatched, isReturnSymbol, isWellMatched, longestWellMatchedPrefix, longestWellMatchedSuffixapply, 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 Alphabet<I> getCallAlphabet()
getCallAlphabet in interface VPDAlphabet<I>public I getCallSymbol(int index)
getCallSymbol in interface VPDAlphabet<I>public int getCallSymbolIndex(I symbol)
getCallSymbolIndex in interface VPDAlphabet<I>public int getNumCalls()
getNumCalls in interface VPDAlphabet<I>public Alphabet<I> getInternalAlphabet()
getInternalAlphabet in interface VPDAlphabet<I>public I getInternalSymbol(int index)
getInternalSymbol in interface VPDAlphabet<I>public int getInternalSymbolIndex(I symbol)
getInternalSymbolIndex in interface VPDAlphabet<I>public int getNumInternals()
getNumInternals in interface VPDAlphabet<I>public Alphabet<I> getReturnAlphabet()
getReturnAlphabet in interface VPDAlphabet<I>public I getReturnSymbol(int index)
getReturnSymbol in interface VPDAlphabet<I>public int getReturnSymbolIndex(I symbol)
getReturnSymbolIndex in interface VPDAlphabet<I>public int getNumReturns()
getNumReturns in interface VPDAlphabet<I>public VPDAlphabet.SymbolType getSymbolType(I symbol)
getSymbolType in interface VPDAlphabet<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 boolean containsSymbol(I symbol)
containsSymbol in interface Alphabet<I>Copyright © 2020. All rights reserved.