Interface UnaryExpression<T,​INNER extends Expression<T>>

  • Type Parameters:
    T - the input entity type
    INNER - the type of the inner expression
    All Superinterfaces:
    Expression<T>

    public interface UnaryExpression<T,​INNER extends Expression<T>>
    extends Expression<T>
    An Expression that has a single operand that implements Expression.

    Equality is determined by looking at inner() and operator().

    Since:
    3.1.0
    Author:
    Emil Forslund
    • Method Detail

      • inner

        INNER inner()
        The inner expression that this wraps and applies a unary operator to.
        Returns:
        the inner expression
      • operator

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