Enum Constant and Description |
---|
APPROXIMATION |
BEST_LOWER_BOUND |
BEST_UPPER_BOUND |
EXACT_COUNT |
Modifier and Type | Method and Description |
---|---|
boolean |
atLeastAsPreciseAs(Accuracy other)
Partial order comparison.
|
Accuracy |
reciprocal() |
static Accuracy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Accuracy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Accuracy EXACT_COUNT
public static final Accuracy BEST_UPPER_BOUND
public static final Accuracy BEST_LOWER_BOUND
public static final Accuracy APPROXIMATION
public static Accuracy[] values()
for (Accuracy c : Accuracy.values()) System.out.println(c);
public static Accuracy 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 boolean atLeastAsPreciseAs(Accuracy other)
public Accuracy reciprocal()