Interface BinaryExpression<T,​FIRST extends Expression<T>,​SECOND extends Expression<T>>

  • Type Parameters:
    T - the input entity type
    FIRST - the type of the first operand, an expression
    SECOND - the type of the second operand, an expression
    All Superinterfaces:
    Expression<T>

    public interface BinaryExpression<T,​FIRST extends Expression<T>,​SECOND extends Expression<T>>
    extends Expression<T>
    An Expression that has two operands, both are implementations of Expression.

    Equality is determined by looking at first(), second() and operator().

    Since:
    3.1.0
    Author:
    Emil Forslund
    • Method Detail

      • first

        FIRST first()
        Returns the first operand, an inner expression.
        Returns:
        the first operand
      • second

        SECOND second()
        Returns the second operand, an inner expression.
        Returns:
        the second operand
      • operator

        BinaryExpression.Operator operator()
        Returns the binary operator that this expression represents.
        Returns:
        the operator