E
- The type of weighted objectpublic interface ImmutableWeightedCollectionValue<E> extends ImmutableCollectionValue<TableEntry<E>,WeightedTable<E>,ImmutableWeightedCollectionValue<E>,WeightedCollectionValue<E>>
ImmutableCollectionValue
that is
backed by a WeightedTable
.Modifier and Type | Method and Description |
---|---|
List<E> |
get(Random random)
Selects a random value from this list based on their weight.
|
asMutable, contains, containsAll, getAll, isEmpty, size, transform, with, withAll, withElement, without, withoutAll, withoutAll