public enum LotteryAlgorithm extends java.lang.Enum<LotteryAlgorithm>
LotteryAlgorithm holds algorithm types for drawing lottery numbers| Enum Constant and Description |
|---|
DEFAULT
The default algorithm
|
MAP
The map algorithm
|
SET
The set algorithm
|
| Modifier and Type | Method and Description |
|---|---|
static LotteryAlgorithm |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LotteryAlgorithm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LotteryAlgorithm DEFAULT
public static final LotteryAlgorithm MAP
public static final LotteryAlgorithm SET
public static LotteryAlgorithm[] values()
for (LotteryAlgorithm c : LotteryAlgorithm.values()) System.out.println(c);
public static LotteryAlgorithm valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null