java.lang.Object | |
↳ | com.pnfsoftware.jeb.util.base.Enums |
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
@interface | Enums.Value |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Enums() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
static <T extends Enum<T>> T |
fromValue(Class<? extends Enum<T>> c, int value)
Retrieve an enumerated constant by 'value'.
| ||||||||||
static <T extends Enum<T>> int | getValue(Enum<T> e) | ||||||||||
static <T extends Enum<T>> boolean | isAnyOf(T e, T... values) |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Retrieve an enumerated constant by 'value'. The value - not be confused with the ordinal -
are provided to enum fields by the Enums.Value
annotation.
e | an enumerated constant |
---|---|
values | a list of enums entries |