Interface ConstantExpression<T,V>
-
- Type Parameters:
T- the input entity typeV- the resulting type
- All Superinterfaces:
Expression<T>
public interface ConstantExpression<T,V> extends Expression<T>
SpecializedExpressionthat 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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Vvalue()Returns the constant value of this expression.-
Methods inherited from interface com.speedment.runtime.compute.expression.Expression
expressionType
-
-
-
-
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
-
-