Package io.dialob.program.expr.arith
Interface AbstractRelationOperator<T>
-
- All Superinterfaces:
AbstractLogicalOperator,Expression,InfixOperator<Boolean>,Serializable
- All Known Subinterfaces:
AbstractComparableRelationOperator<T>,GeOperator<T>,GtOperator<T>,LeOperator<T>,LtOperator<T>,PeriodGeOperator,PeriodGtOperator,PeriodLeOperator,PeriodLtOperator
- All Known Implementing Classes:
ImmutableGeOperator,ImmutableGtOperator,ImmutableLeOperator,ImmutableLtOperator,ImmutablePeriodGeOperator,ImmutablePeriodGtOperator,ImmutablePeriodLeOperator,ImmutablePeriodLtOperator
public interface AbstractRelationOperator<T> extends AbstractLogicalOperator
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description booleanapply(int comp)intcompare(T lhsResult, T rhsResult)default Booleaneval(EvalContext evalContext)StringgetOperator()-
Methods inherited from interface io.dialob.program.expr.arith.AbstractLogicalOperator
getValueType
-
Methods inherited from interface io.dialob.program.expr.arith.InfixOperator
getEvalRequiredConditions, getLhs, getRhs
-
-
-
-
Method Detail
-
eval
@Nullable default Boolean eval(@Nonnull EvalContext evalContext)
- Specified by:
evalin interfaceExpression
-
apply
boolean apply(int comp)
-
getOperator
String getOperator()
-
-