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