T - the input entity typepublic interface ToBooleanOrElse<T> extends NonNullableExpression<T,ToBooleanNullable<T>>, ToBoolean<T>
NonNullableExpression for boolean values where a
default value is given if the original expression returns null.NonNullableExpression.NullStrategy| Modifier and Type | Method and Description |
|---|---|
boolean |
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. |
innerNullableapplyAsBoolean, asDouble, asInt, asLong, compare, compose, composeNullable, expressionType, hash, map, mapToDouble, ofcomparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongboolean defaultValue()
NonNullableExpression.innerNullable() would
have returned null.default NonNullableExpression.NullStrategy nullStrategy()
NonNullableExpressionNonNullableExpression.innerNullable() would have returned null.nullStrategy in interface NonNullableExpression<T,ToBooleanNullable<T>>Copyright © 2019 Speedment, Inc.. All rights reserved.