public class TableContainer extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
TableContainer.RelationToNextDecision |
Modifier and Type | Field and Description |
---|---|
protected int |
cachedCode |
protected java.lang.StringBuilder |
cachedSymbol |
protected java.lang.String |
name |
protected Table |
table |
Constructor and Description |
---|
TableContainer(Table _table,
java.lang.String _name,
char _decisionSeparator) |
Modifier and Type | Method and Description |
---|---|
void |
clearCache() |
boolean |
containCode(int code) |
boolean |
containSymbol(java.lang.String symbol) |
boolean |
continueWithNextDecision(int code) |
boolean |
continueWithNextDecision(java.lang.String symbol) |
int |
getCode(java.lang.String symbol) |
TableContainer.RelationToNextDecision |
getRelationToNextDecision() |
java.lang.String |
getSymbol(int code) |
Table |
getTable() |
java.lang.String |
getTableContainerName() |
java.lang.String |
getTableName() |
protected void |
setName(java.lang.String name) |
protected void |
setTable(Table table) |
int |
size() |
java.lang.String |
toString() |
protected int cachedCode
protected final java.lang.StringBuilder cachedSymbol
protected java.lang.String name
public TableContainer(Table _table, java.lang.String _name, char _decisionSeparator)
public void clearCache()
public java.lang.String getSymbol(int code) throws MaltChainedException
MaltChainedException
public int getCode(java.lang.String symbol) throws MaltChainedException
MaltChainedException
public boolean containCode(int code) throws MaltChainedException
MaltChainedException
public boolean containSymbol(java.lang.String symbol) throws MaltChainedException
MaltChainedException
public boolean continueWithNextDecision(int code) throws MaltChainedException
MaltChainedException
public boolean continueWithNextDecision(java.lang.String symbol) throws MaltChainedException
MaltChainedException
public java.lang.String getTableName()
public java.lang.String getTableContainerName()
public TableContainer.RelationToNextDecision getRelationToNextDecision()
protected void setName(java.lang.String name)
public int size()
public java.lang.String toString()
toString
in class java.lang.Object
Copyright 2007-2017 Johan Hall, Jens Nilsson and Joakim Nivre.