public enum RandomGeneratorStrategy extends java.lang.Enum<RandomGeneratorStrategy>
Enum Constant and Description |
---|
DETERMINISTIC |
NON_DETERMINISTIC |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toKey() |
java.lang.String |
toString() |
static RandomGeneratorStrategy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RandomGeneratorStrategy[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared.
|
public static final RandomGeneratorStrategy DETERMINISTIC
public static final RandomGeneratorStrategy NON_DETERMINISTIC
public java.lang.String toKey()
public java.lang.String toString()
toString
in class java.lang.Enum<RandomGeneratorStrategy>
public static RandomGeneratorStrategy 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 nullpublic static RandomGeneratorStrategy[] values()
for (RandomGeneratorStrategy c : RandomGeneratorStrategy.values()) System.out.println(c);
Copyright © 2016, 2017 Oracle Corp. All Rights Reserved.