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