T - the input entity typepublic interface ToStringOrElse<T> extends NonNullableExpression<T,ToStringNullable<T>>, ToString<T>
NonNullableExpression for String values where a
default value is given if the original expression returns null.NonNullableExpression.NullStrategy| Modifier and Type | Method and Description |
|---|---|
String |
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. |
innerNullableapply, compare, compose, expressionType, hash, map, of, toLowerCase, toUpperCasecomparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongString defaultValue()
NonNullableExpression.innerNullable() would
have returned null.default NonNullableExpression.NullStrategy nullStrategy()
NonNullableExpressionNonNullableExpression.innerNullable() would have returned null.nullStrategy in interface NonNullableExpression<T,ToStringNullable<T>>Copyright © 2019 Speedment, Inc.. All rights reserved.