-
public class IdentityWeightedChoice.Companion
-
-
Field Summary
Fields Modifier and Type Field Description public final static IdentityWeightedChoice.Companion
INSTANCE
-
Method Summary
Modifier and Type Method Description final <T extends IdentityWeighted> IdentityWeightedChoice<T>
between(T option)
Constructs a IdentityWeightedChoice for the given option. final <T extends IdentityWeighted> IdentityWeightedChoice<T>
between(Iterable<T> options)
Constructs a IdentityWeightedChoice for the given options. -
-
Method Detail
-
between
final <T extends IdentityWeighted> IdentityWeightedChoice<T> between(T option)
Constructs a IdentityWeightedChoice for the given option.
- Parameters:
option
- Option(s) for choice.
-
between
final <T extends IdentityWeighted> IdentityWeightedChoice<T> between(Iterable<T> options)
Constructs a IdentityWeightedChoice for the given options.
-
-
-
-