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