public enum SampleType extends Enum<SampleType> implements IAEnum
| Enum Constant and Description |
|---|
EVERY_NTH |
RANDOM |
SEQUENTIAL |
| Modifier and Type | Method and Description |
|---|---|
String |
getValue() |
static SampleType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SampleType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SampleType RANDOM
public static final SampleType SEQUENTIAL
public static final SampleType EVERY_NTH
public static SampleType[] values()
for (SampleType c : SampleType.values()) System.out.println(c);
public static SampleType 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 © 2018–2021 ODPi. All rights reserved.