public enum SampleType extends Enum<SampleType>
| Enum Constant and Description |
|---|
every_nth |
random |
sequential |
| Modifier and Type | Method and Description |
|---|---|
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–2019 ODPi. All rights reserved.