Interface ToCharOrElse<T>
-
- Type Parameters:
T- the input entity type
- All Superinterfaces:
Comparator<T>,Expression<T>,HasAsDouble<T>,HasAsInt<T>,HasAsLong<T>,HasCase<T,ToChar<T>>,HasCompare<T>,HasCompose<T>,HasHash<T>,HasMap<T,CharUnaryOperator,ToChar<T>>,NonNullableExpression<T,ToCharNullable<T>>,ToChar<T>,ToCharFunction<T>
public interface ToCharOrElse<T> extends NonNullableExpression<T,ToCharNullable<T>>, ToChar<T>
SpecializedNonNullableExpressionforcharvalues where a default value is given if the original expression returnsnull.- Since:
- 3.1.0
- Author:
- Emil Forslund
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.speedment.runtime.compute.expression.NonNullableExpression
NonNullableExpression.NullStrategy
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description chardefaultValue()Returns the default value used whenNonNullableExpression.innerNullable()would have returnednull.default NonNullableExpression.NullStrategynullStrategy()Returns the strategy used by this expression to deal with the case whenNonNullableExpression.innerNullable()would have returnednull.-
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Methods inherited from interface com.speedment.runtime.compute.expression.NonNullableExpression
innerNullable
-
Methods inherited from interface com.speedment.runtime.compute.ToChar
asDouble, asInt, asLong, compare, compose, expressionType, hash, map, toLowerCase, toUpperCase
-
Methods inherited from interface com.speedment.common.function.ToCharFunction
applyAsChar
-
-
-
-
Method Detail
-
defaultValue
char defaultValue()
Returns the default value used whenNonNullableExpression.innerNullable()would have returnednull.- Returns:
- the default value
-
nullStrategy
default NonNullableExpression.NullStrategy nullStrategy()
Description copied from interface:NonNullableExpressionReturns the strategy used by this expression to deal with the case whenNonNullableExpression.innerNullable()would have returnednull.- Specified by:
nullStrategyin interfaceNonNullableExpression<T,ToCharNullable<T>>- Returns:
- the null-strategy used
-
-