public enum RandomNumberGeneratorStrategy extends Enum<RandomNumberGeneratorStrategy>
Enum Constant and Description |
---|
CONSTANT_ZERO |
DEFERRED |
THREAD_LOCAL |
Modifier and Type | Method and Description |
---|---|
static RandomNumberGeneratorStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RandomNumberGeneratorStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RandomNumberGeneratorStrategy THREAD_LOCAL
public static final RandomNumberGeneratorStrategy CONSTANT_ZERO
public static final RandomNumberGeneratorStrategy DEFERRED
public static RandomNumberGeneratorStrategy[] values()
for (RandomNumberGeneratorStrategy c : RandomNumberGeneratorStrategy.values()) System.out.println(c);
public static RandomNumberGeneratorStrategy 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 © 2019. All rights reserved.