Interface ConstantExpression<T,​V>

  • Type Parameters:
    T - the input entity type
    V - the resulting type
    All Superinterfaces:
    Expression<T>

    public interface ConstantExpression<T,​V>
    extends Expression<T>
    Specialized Expression that always returns the same value, regardless of the input.

    Equality is determined by looking at the value().

    Since:
    3.1.0
    Author:
    Emil Forslund
    • Method Detail

      • value

        V value()
        Returns the constant value of this expression. The constant value is the result of the expression, regardless of what the input it.
        Returns:
        the constant value