| Interface | Description |
|---|---|
| RandomSelector<E> |
A tool to randomly select elements from collections.
|
| VariableAmount |
Represents a value which may vary randomly.
|
| Weigher<E> |
Represents an object which can determine the weight of objects.
|
| Weighted |
Represents an object which has a weight
|
| Class | Description |
|---|---|
| VariableAmount.BaseAndAddition |
Represents a base amount with a random addition, the final amount will be
the base amount plus a random amount between zero (inclusive) and the
addition (exclusive).
|
| VariableAmount.BaseAndVariance |
Represents a base amount with a variance, the final amount will be the
base amount plus or minus a random amount between zero (inclusive) and
the variance (exclusive).
|
| VariableAmount.Fixed |
Represents a fixed amount, calls to
VariableAmount.Fixed.getAmount(java.util.Random) will always return
the same fixed value. |
| VariableAmount.OptionalAmount |
Represents a variable amount which has a base and a chance of varying.
|
| WeightedObject<T> |
Represents a
Weighted object. |
Copyright © 2022. All rights reserved.