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 . |
innerNullable
applyAsBoolean, asDouble, asInt, asLong, compare, compose, composeNullable, expressionType, hash, map, mapToDouble, of
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
boolean defaultValue()
NonNullableExpression.innerNullable()
would
have returned null
.default NonNullableExpression.NullStrategy nullStrategy()
NonNullableExpression
NonNullableExpression.innerNullable()
would have returned null
.nullStrategy
in interface NonNullableExpression<T,ToBooleanNullable<T>>
Copyright © 2018 Speedment, Inc.. All rights reserved.