public class CaseInsensitiveVariableTable extends VariableTable
table, vf
Constructor and Description |
---|
CaseInsensitiveVariableTable() |
CaseInsensitiveVariableTable(VariableTable tbl) |
Modifier and Type | Method and Description |
---|---|
Variable |
addVariable(java.lang.String name)
Adds a new variable with no value specified.
|
Variable |
addVariable(java.lang.String name,
java.lang.Object value)
Adds a new variable with specified value.
|
JepComponent |
getLightWeightInstance()
Returns a new empty VariableTable.
|
Variable |
getVariable(java.lang.String name)
Gets an existing variable, returns null if variable is not found.
|
addConstant, clear, clearValues, containsKey, containsVariable, copyConstantsFrom, copyVariablesFrom, getVariableFactory, getVariables, init, isEmpty, keySet, remove, remove, removeNonConstants, setVariableFactory, size, toString, values
public CaseInsensitiveVariableTable()
public CaseInsensitiveVariableTable(VariableTable tbl)
public Variable addVariable(java.lang.String name)
addVariable
in class VariableTable
name
- variable name, will be converted to lower casepublic Variable addVariable(java.lang.String name, java.lang.Object value) throws JepException
addVariable
in class VariableTable
name
- variable name, will be converted to lower casevalue
- initial valueJepException
- if an attempt is made to set the value of a constant variablepublic Variable getVariable(java.lang.String name)
getVariable
in class VariableTable
name
- variable name, will be converted to lower casepublic JepComponent getLightWeightInstance()
VariableTable
getLightWeightInstance
in interface JepComponent
getLightWeightInstance
in class VariableTable
VariableTable.copyConstantsFrom(VariableTable)
,
VariableTable.copyVariablesFrom(VariableTable)
Copyright © 2018 Singular Systems http://www.singularsys.com/jep