public static enum WeightedDatasetComparator.Criteria extends java.lang.Enum<WeightedDatasetComparator.Criteria>
Enum Constant and Description |
---|
ID |
NAME |
WEIGHT_AS_DOUBLE |
WEIGHT_AS_LONG |
WEIGHT_AS_STRING |
Modifier and Type | Method and Description |
---|---|
static WeightedDatasetComparator.Criteria |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static WeightedDatasetComparator.Criteria[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WeightedDatasetComparator.Criteria ID
public static final WeightedDatasetComparator.Criteria NAME
public static final WeightedDatasetComparator.Criteria WEIGHT_AS_DOUBLE
public static final WeightedDatasetComparator.Criteria WEIGHT_AS_LONG
public static final WeightedDatasetComparator.Criteria WEIGHT_AS_STRING
public static WeightedDatasetComparator.Criteria[] values()
for (WeightedDatasetComparator.Criteria c : WeightedDatasetComparator.Criteria.values()) System.out.println(c);
public static WeightedDatasetComparator.Criteria 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 null