public enum SamplingMode extends Enum<SamplingMode>
| Enum Constant and Description |
|---|
MAX_POPULARITY |
MEDIAN_POPULARITY |
MIN_POPULARITY |
RANDOM |
| Modifier and Type | Method and Description |
|---|---|
static SamplingMode |
valueOf(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(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 © 2021. All rights reserved.