T - the input entity typepublic interface ToIntOrElse<T> extends NonNullableExpression<T,ToIntNullable<T>>, ToInt<T>
NonNullableExpression for int values where a
default value is given if the original expression returns null.NonNullableExpression.NullStrategy| Modifier and Type | Method and Description |
|---|---|
int |
defaultValue()
Returns the default value used when
NonNullableExpression.innerNullable() would
have returned null. |
default NonNullableExpression.NullStrategy |
nullStrategy()
Returns the strategy used by this expression to deal with the case when
NonNullableExpression.innerNullable() would have returned null. |
innerNullableabs, applyAsInt, asDouble, asInt, asLong, compare, compose, divide, divide, divide, divide, divide, divide, expressionType, hash, map, mapToDouble, minus, minus, minus, minus, minus, minus, minus, minus, multiply, multiply, multiply, multiply, multiply, multiply, multiply, multiply, negate, of, plus, plus, plus, plus, plus, plus, plus, plus, pow, pow, pow, pow, sign, sqrtcomparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongint defaultValue()
NonNullableExpression.innerNullable() would
have returned null.default NonNullableExpression.NullStrategy nullStrategy()
NonNullableExpressionNonNullableExpression.innerNullable() would have returned null.nullStrategy in interface NonNullableExpression<T,ToIntNullable<T>>Copyright © 2019 Speedment, Inc.. All rights reserved.