public interface IipEnum
| Modifier and Type | Method and Description |
|---|---|
int |
getModelOrdinal()
Returns the model ordinal of this enum literal.
|
static <E extends Enum<E> & IipEnum> |
valueByModelOrdinal(Class<E> enumType,
int modelOrdinal)
Returns an enum literal via its model ordinal, more specifically the first one declaring the
getModelOrdinal() in declaration sequence of the enum constants. |
int getModelOrdinal()
static <E extends Enum<E> & IipEnum> E valueByModelOrdinal(Class<E> enumType, int modelOrdinal)
getModelOrdinal() in declaration sequence of the enum constants.E - the enum typeenumType - the class representing the enum type implementing IipEnummodelOrdinal - the ordinal to search forCopyright © 2022. All rights reserved.