public final class EnumHelper extends Object
Constructor and Description |
---|
EnumHelper() |
Modifier and Type | Method and Description |
---|---|
static <E extends Enum<E>> |
createTypeArray(Class<E> c)
Creates a lookup array based on the "value" associated with an MpxjEnum.
|
static <E extends Enum<E>> |
createTypeArray(Class<E> c,
int arraySizeOffset)
Creates a lookup array based on the "value" associated with an MpxjEnum.
|
public static final <E extends Enum<E>> E[] createTypeArray(Class<E> c)
E
- target enumerationc
- enumeration classpublic static final <E extends Enum<E>> E[] createTypeArray(Class<E> c, int arraySizeOffset)
E
- target enumerationc
- enumeration classarraySizeOffset
- offset to apply to the array sizeCopyright © 2000–2024 Packwood Software. All rights reserved.