Class GreaterThanExpression<T,​R>

  • Type Parameters:
    T - Input parameter type
    R - Output parameter type
    All Implemented Interfaces:
    java.util.function.Function<T,​java.lang.Boolean>, java.util.function.Predicate<T>, Expression<T,​java.lang.Boolean>, ExpressionNode<T,​java.lang.Boolean>

    public class GreaterThanExpression<T,​R>
    extends AbstractComparisonExpression<T,​java.lang.Boolean>
    Comparison GREATER THAN operation. Evaluates left expression against right expression.
    • Constructor Detail

      • GreaterThanExpression

        public GreaterThanExpression​(ExpressionNode<T,​?> left,
                                     ExpressionNode<T,​?> right)
        Constructor initializes children expression list
        Parameters:
        left - Left child expression
        right - Right child expression
    • Method Detail

      • apply

        public java.lang.Boolean apply​(T value)
        Performs GREATER THAN comparison using parameters and the value supplied
        Parameters:
        value - Object to handle
        Returns:
        Boolean result of value evaluation