public enum ConfFindNextType extends Enum<ConfFindNextType>
Enum Constant and Description |
---|
FIND_NEXT
Find should start after the indicated element
|
FIND_SAME_OR_NEXT
Find should start with indicated element or the
next element if the indicated element does not exist
|
Modifier and Type | Method and Description |
---|---|
int |
getValue()
get the ordinal value for the enumeration
|
static ConfFindNextType |
valueOf(int i)
Static method that creates an enum from an integer
ordinal value.
|
static ConfFindNextType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConfFindNextType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConfFindNextType FIND_NEXT
public static final ConfFindNextType FIND_SAME_OR_NEXT
public int getValue()
public static ConfFindNextType valueOf(int i)
i
- ordinal valuepublic static ConfFindNextType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic static ConfFindNextType[] values()
for (ConfFindNextType c : ConfFindNextType.values()) System.out.println(c);