public static enum PartitionFieldStats.Weighted extends Enum<PartitionFieldStats.Weighted> implements StringValue<PartitionFieldStats.Weighted>
| Modifier and Type | Method and Description |
|---|---|
static PartitionFieldStats.Weighted |
fromValue(String v) |
String |
toString() |
String |
value() |
static PartitionFieldStats.Weighted |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PartitionFieldStats.Weighted[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PartitionFieldStats.Weighted ZERO
public static final PartitionFieldStats.Weighted ONE
public static PartitionFieldStats.Weighted[] values()
for (PartitionFieldStats.Weighted c : PartitionFieldStats.Weighted.values()) System.out.println(c);
public static PartitionFieldStats.Weighted 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 value()
value in interface StringValue<PartitionFieldStats.Weighted>public static PartitionFieldStats.Weighted fromValue(String v)
public String toString()
toString in class Enum<PartitionFieldStats.Weighted>Copyright © 2019 University of Tartu. All rights reserved.