public enum BoolPair extends Enum<BoolPair>
Modifier and Type | Method and Description |
---|---|
static BoolPair |
get(boolean a,
boolean b) |
int |
getCount() |
static BoolPair |
valueOf(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(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 BoolPair get(boolean a, boolean b)
public int getCount()
Copyright © 2011-2021. All Rights Reserved.