public enum Samples extends Enum<Samples>
| Modifier and Type | Method and Description |
|---|---|
abstract Sample |
createSample() |
static Samples |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Samples[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Samples UNIFORM
public static final Samples BIASED
public static Samples[] values()
for (Samples c : Samples.values()) System.out.println(c);
public static Samples 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 nullpublic abstract Sample createSample()
Copyright © 2017. All rights reserved.