T - the input entity typeE - the enum typepublic interface ToEnumOrThrow<T,E extends Enum<E>> extends OrElseThrowExpression<T,ToEnumNullable<T,E>>, ToEnum<T,E>
NonNullableExpression for Enum values where a
NullPointerException is thrown if the original expression returns
null.NonNullableExpression.NullStrategy| Modifier and Type | Method and Description |
|---|---|
default Class<E> |
enumClass()
Returns the
class of the enum that this expression returns. |
nullStrategyinnerNullableexpressionTypeapply, asName, asOrdinal, compare, compose, expressionType, hash, map, ofcomparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongCopyright © 2019 Speedment, Inc.. All rights reserved.