|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<SerialStrategy.Output>
rafa.math.gen.SerialStrategy.Output
public static enum SerialStrategy.Output
Mechanism for choosing values from the series.
| Enum Constant Summary | |
|---|---|
DIRECT
Start with the first value in the series, end with the last one. |
|
RANDOM
Produce one of the values in the series randomly. |
|
RANDOM_NO_REPEATS
Produce a random value from the series, but without repeating any of them until all of them have been produced. |
|
REVERSE
Start with the last value in the series, end with the first one. |
|
| Method Summary | |
|---|---|
static SerialStrategy.Output |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static SerialStrategy.Output[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final SerialStrategy.Output DIRECT
public static final SerialStrategy.Output REVERSE
public static final SerialStrategy.Output RANDOM
public static final SerialStrategy.Output RANDOM_NO_REPEATS
| Method Detail |
|---|
public static SerialStrategy.Output[] values()
for (SerialStrategy.Output c : SerialStrategy.Output.values()) System.out.println(c);
public static SerialStrategy.Output 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 name
java.lang.NullPointerException - if the argument is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||