public abstract class NullValues extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
protected static class |
NullValues.NullValueDegree |
static class |
NullValues.NullValueId |
Modifier and Type | Field and Description |
---|---|
protected java.util.SortedMap<java.lang.Integer,java.lang.String> |
code2SymbolMap |
protected int |
nextCode |
protected HashMap<NullValues.NullValueId,java.lang.Integer> |
nullValue2CodeMap |
protected HashMap<NullValues.NullValueId,java.lang.String> |
nullValue2SymbolMap |
protected NullValues.NullValueDegree |
nullValueEncoding |
protected java.lang.String |
nullValueStrategy |
protected HashMap<java.lang.String,java.lang.Integer> |
symbol2CodeMap |
protected SymbolTable |
table |
Constructor and Description |
---|
NullValues(SymbolTable table) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
codeToSymbol(int code) |
boolean |
equals(java.lang.Object obj) |
int |
getNextCode() |
NullValues.NullValueDegree |
getNullValueEncoding() |
java.lang.String |
getNullValueStrategy() |
SymbolTable |
getSymbolTable() |
boolean |
isNullValue(int code) |
boolean |
isNullValue(java.lang.String symbol) |
protected abstract void |
makeNullValues() |
int |
nullvalueToCode(NullValues.NullValueId nullValueIdentifier) |
java.lang.String |
nullvalueToSymbol(NullValues.NullValueId nullValueIdentifier) |
protected void |
setNextCode(int nextCode) |
protected abstract void |
setNullValueEncoding(java.lang.String nullValueStrategy) |
protected void |
setNullValueStrategy(java.lang.String nullValueStrategy) |
int |
symbolToCode(java.lang.String symbol) |
java.lang.String |
toString() |
protected HashMap<NullValues.NullValueId,java.lang.String> nullValue2SymbolMap
protected HashMap<NullValues.NullValueId,java.lang.Integer> nullValue2CodeMap
protected HashMap<java.lang.String,java.lang.Integer> symbol2CodeMap
protected java.util.SortedMap<java.lang.Integer,java.lang.String> code2SymbolMap
protected SymbolTable table
protected NullValues.NullValueDegree nullValueEncoding
protected java.lang.String nullValueStrategy
protected int nextCode
public NullValues(SymbolTable table)
public SymbolTable getSymbolTable()
public java.lang.String getNullValueStrategy()
protected void setNullValueStrategy(java.lang.String nullValueStrategy)
public NullValues.NullValueDegree getNullValueEncoding()
public int getNextCode()
protected void setNextCode(int nextCode)
public boolean isNullValue(int code)
public boolean isNullValue(java.lang.String symbol)
public int nullvalueToCode(NullValues.NullValueId nullValueIdentifier) throws MaltChainedException
MaltChainedException
public java.lang.String nullvalueToSymbol(NullValues.NullValueId nullValueIdentifier) throws MaltChainedException
MaltChainedException
public int symbolToCode(java.lang.String symbol)
public java.lang.String codeToSymbol(int code)
protected abstract void setNullValueEncoding(java.lang.String nullValueStrategy)
protected abstract void makeNullValues()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
Copyright 2007-2017 Johan Hall, Jens Nilsson and Joakim Nivre.