public enum PrngType extends Enum<PrngType>
Specifies random number generator.
Enum Constant and Description |
---|
FIXME |
Modifier and Type | Method and Description |
---|---|
static PrngType |
getById(int id)
Gets a pseudo random number generator based on its id.
|
int |
getId() |
static PrngType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PrngType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PrngType FIXME
public static PrngType[] values()
for (PrngType c : PrngType.values()) System.out.println(c);
public static PrngType 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 int getId()
public static PrngType getById(int id)
Gets a pseudo random number generator based on its id.
id
- the ID to be looked upCopyright © 2023. All rights reserved.