public enum AccuracyMode extends Enum<AccuracyMode>
| Modifier and Type | Method and Description |
|---|---|
static AccuracyMode |
forValue(String value)
checks if value is a valid
AccuracyMode enum |
String |
getLabel()
get the label
|
void |
setLabel(String label)
set the label
|
String |
toValue()
get the label
|
static AccuracyMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AccuracyMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AccuracyMode PRECISION
public static final AccuracyMode RECALL
public static AccuracyMode[] values()
for (AccuracyMode c : AccuracyMode.values()) System.out.println(c);
public static AccuracyMode 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 String getLabel()
public void setLabel(String label)
label - the labelpublic static AccuracyMode forValue(String value) throws IllegalArgumentException
AccuracyMode enumvalue - input valueAccuracyMode corresponding to input valueIllegalArgumentException - invalid input string.public String toValue()
Copyright © 2014–2016 Basis Technology Corp.. All rights reserved.