public enum Distribution extends Enum<Distribution>
| Enum Constant and Description |
|---|
FLAT |
GAUSSIAN |
SLOW_GAUSSIAN |
SLOW_GAUSSIAN_PARETO |
| Modifier and Type | Method and Description |
|---|---|
abstract long |
generate(ConcurrentPseudoRandom rnd,
long minimum,
long maximum,
long width) |
abstract String |
getDescription() |
static Distribution |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Distribution[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Distribution FLAT
public static final Distribution SLOW_GAUSSIAN
public static final Distribution SLOW_GAUSSIAN_PARETO
public static final Distribution GAUSSIAN
public static Distribution[] values()
for (Distribution c : Distribution.values()) System.out.println(c);
public static Distribution 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 abstract long generate(ConcurrentPseudoRandom rnd, long minimum, long maximum, long width)
public abstract String getDescription()
Copyright © 2023. All rights reserved.