public enum SampleMode extends Enum<SampleMode>
Enum Constant and Description |
---|
BY_PERCENT
Output a percentage of the input data
|
BY_SIZE
Output a given sample size of the input data
|
Modifier and Type | Method and Description |
---|---|
static SampleMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SampleMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SampleMode BY_PERCENT
public static final SampleMode BY_SIZE
public static SampleMode[] values()
for (SampleMode c : SampleMode.values()) System.out.println(c);
public static SampleMode 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 Actian Corporation. All rights reserved.