Class GreaterThanOperator
- All Implemented Interfaces:
AnalysisResult,Evaluator,Expression
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleandecide(int comparisonResult) Get final decision from comparison result.Methods inherited from class com.scriptbasic.executors.operators.AbstractCompareOperator
compareTo, evaluateOnMethods inherited from class com.scriptbasic.executors.operators.AbstractBinaryFullCircuitOperator
evaluate, getLeftOperandEvaluated, getRightOperandEvaluatedMethods inherited from class com.scriptbasic.executors.operators.AbstractBinaryOperator
getLeftOperand, getRightOperand, setLeftOperand, setRightOperandMethods inherited from class com.scriptbasic.executors.operators.AbstractOperator
getAsBoolean, getAsDouble, getAsLong, getAsObject, getAsString
-
Constructor Details
-
GreaterThanOperator
public GreaterThanOperator()
-
-
Method Details
-
decide
protected boolean decide(int comparisonResult) Description copied from class:AbstractCompareOperatorGet final decision from comparison result.- Specified by:
decidein classAbstractCompareOperator- Parameters:
comparisonResult- Result from function compareTo- Returns:
- final decision
-