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