T
- type of the payloadpublic final class VPDSym<T> extends Object implements Serializable
VPDAlphabet
. Stores additional index information to allow fast
index-based access.Constructor and Description |
---|
VPDSym(T userObject,
VPDAlphabet.SymbolType type,
int localIndex,
int globalIndex) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
int |
getGlobalIndex() |
int |
getLocalIndex() |
VPDAlphabet.SymbolType |
getType() |
T |
getUserObject() |
int |
hashCode() |
String |
toString() |
public VPDSym(T userObject, VPDAlphabet.SymbolType type, int localIndex, int globalIndex)
public VPDAlphabet.SymbolType getType()
public T getUserObject()
public int getLocalIndex()
public int getGlobalIndex()
Copyright © 2018. All rights reserved.