| 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) | ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Retrieve an enumerated constant by 'value'. The value - not be confused with the ordinal -
are provided to enum fields by the Enums.Value annotation.