Package hec.hecmath.computation
Class TextTest
java.lang.Object
hec.hecmath.computation.TextTest
- All Implemented Interfaces:
Constants,Testable,Updatable,UpdatableListener
-
Nested Class Summary
Nested classes/interfaces inherited from interface hec.hecmath.computation.Constants
Constants.LogicTestOperator, Constants.MathOperator, Constants.Notation, Constants.Precedence, Constants.QualityOperator, Constants.QualityTestOperator, Constants.TextOperator, Constants.TextTestOperator, Constants.ValueTestOperator -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static Map<Constants.TextTestOperator,String> protected Constants.TextTestOperatorprotected static Map<String,Constants.TextTestOperator> protected booleanprotected booleanprotected Set<UpdatableListener>protected Objectprotected Objectprotected Evaluable[]protected VariableSet -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic intprotected voidcompute()voidgetNames()static booleanisTextTest(String name) voidstatic intprecedence(String name) voidvoidregisterListener(UpdatableListener listener) booleantest()toString()voidvoidvoidunregisterListener(UpdatableListener listener)
-
Field Details
-
nameByOp
-
opByName
-
state
protected boolean state -
op
-
val
-
stale
protected boolean stale -
updateListeners
-
updateListenersLock
-
updateSources
-
updateSourcesLock
-
variables
-
-
Constructor Details
-
TextTest
- Throws:
ComputationException
-
TextTest
- Throws:
ComputationException
-
TextTest
- Throws:
ComputationException
-
TextTest
public TextTest(String name, VariableSet variables, Evaluable val0, Evaluable val1) throws ComputationException - Throws:
ComputationException
-
-
Method Details
-
getNames
-
isTextTest
-
arity
- Throws:
ComputationException
-
precedence
- Throws:
ComputationException
-
registerListener
- Specified by:
registerListenerin interfaceUpdatable
-
unregisterListener
- Specified by:
unregisterListenerin interfaceUpdatable
-
notifyListeners
public void notifyListeners()- Specified by:
notifyListenersin interfaceUpdatable
-
dataUpdated
- Specified by:
dataUpdatedin interfaceUpdatableListener
-
registerAsListener
- Specified by:
registerAsListenerin interfaceUpdatableListener
-
unregisterAsListener
- Specified by:
unregisterAsListenerin interfaceUpdatableListener
-
unregisterAsListener
public void unregisterAsListener()- Specified by:
unregisterAsListenerin interfaceUpdatableListener
-
test
- Specified by:
testin interfaceTestable- Throws:
ComputationException
-
compute
- Throws:
ComputationException
-
toString
-