public static enum WeightedAlgorithm.WeightMethod extends Enum<WeightedAlgorithm.WeightMethod>
Enum Constant and Description |
---|
EXPONENTIAL |
LINEAR |
LOGARITHMIC |
Modifier and Type | Method and Description |
---|---|
static WeightedAlgorithm.WeightMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WeightedAlgorithm.WeightMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WeightedAlgorithm.WeightMethod LOGARITHMIC
public static final WeightedAlgorithm.WeightMethod LINEAR
public static final WeightedAlgorithm.WeightMethod EXPONENTIAL
public static WeightedAlgorithm.WeightMethod[] values()
for (WeightedAlgorithm.WeightMethod c : WeightedAlgorithm.WeightMethod.values()) System.out.println(c);
public static WeightedAlgorithm.WeightMethod 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 nullCopyright © 2015–2020. All rights reserved.