public static enum PairSet.KeyLocation extends java.lang.Enum<PairSet.KeyLocation>
Enum Constant and Description |
---|
FIRST_IS_KEY |
SECOND_IS_KEY |
Modifier and Type | Method and Description |
---|---|
static PairSet.KeyLocation |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PairSet.KeyLocation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PairSet.KeyLocation FIRST_IS_KEY
public static final PairSet.KeyLocation SECOND_IS_KEY
public static PairSet.KeyLocation[] values()
for (PairSet.KeyLocation c : PairSet.KeyLocation.values()) System.out.println(c);
public static PairSet.KeyLocation valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null