Contents
-
Deprecated Methods
this method doesn't handle unknown enum values, and eliminates the
benefits of WireSafeEnum. If you want to compare to a specific value, you can
call
WireSafeEnum.contains(Enum), which handles unknown values gracefully. If you do
really need to coerce to an enum, you can replace this method with .asEnum().get()
this method doesn't handle unknown enum values, and eliminates the
benefits of WireSafeEnum. If you want to compare to a specific value, you can
call
WireSafeEnum.contains(Enum), which handles unknown values gracefully. If you do
really need to coerce to an enum, you can replace this method with
.asEnum().orElseThrow(exceptionSupplier)