org.deri.iris.builtins.numeric
Class NumericLessEqualBuiltin
java.lang.Object
org.deri.iris.builtins.AbstractBuiltin
org.deri.iris.builtins.BooleanBuiltin
org.deri.iris.builtins.LessEqualBuiltin
org.deri.iris.builtins.numeric.NumericLessEqualBuiltin
- All Implemented Interfaces:
- Comparable<IAtom>, IAtom, IBuiltinAtom
public class NumericLessEqualBuiltin
- extends LessEqualBuiltin
Represents the RIF built-in predicate pred:numeric-less-equal-than.
|
Method Summary |
protected boolean |
computeResult(ITerm[] terms)
Compute the result of the comparison. |
NumericLessEqualBuiltin
public NumericLessEqualBuiltin(ITerm... terms)
computeResult
protected boolean computeResult(ITerm[] terms)
- Description copied from class:
BooleanBuiltin
- Compute the result of the comparison.
- Overrides:
computeResult in class LessEqualBuiltin
- Parameters:
terms - The terms
- Returns:
- The result of the comparison.