public static enum Pair.SORTBY extends Enum<Pair.SORTBY>
| Modifier and Type | Method and Description |
|---|---|
static Pair.SORTBY |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Pair.SORTBY[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Pair.SORTBY LEFT
public static final Pair.SORTBY RIGHT
public static final Pair.SORTBY BOTH
public static Pair.SORTBY[] values()
for (Pair.SORTBY c : Pair.SORTBY.values()) System.out.println(c);
public static Pair.SORTBY 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 nullCopyright © 2015. All Rights Reserved.