Modifier and Type | Field and Description |
---|---|
private int |
count |
Modifier and Type | Method and Description |
---|---|
static BoolPair |
get(boolean a,
boolean b) |
int |
getCount() |
static BoolPair |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BoolPair[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BoolPair NEITHER
public static final BoolPair FIRST
public static final BoolPair SECOND
public static final BoolPair BOTH
public static BoolPair[] values()
for (BoolPair c : BoolPair.values()) System.out.println(c);
public static BoolPair 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 nullpublic static BoolPair get(boolean a, boolean b)
public int getCount()