Uses of Interface
w.util.random.WeightedRandomBuilder
Packages that use WeightedRandomBuilder
-
Uses of WeightedRandomBuilder in w.util.random
Methods in w.util.random that return WeightedRandomBuilderModifier and TypeMethodDescription@NotNull WeightedRandomBuilder<T>WeightedRandomBuilder.autoSum()Автоматически посчитать сумму всех весов перед созданием рандомаstatic <E,T> @NotNull WeightedRandomBuilder<T> SimpleWeightedRandom.builder(@NotNull Collection<E> collection, @NotNull Function<E, T> objectFunction, @NotNull ToDoubleFunction<E> weightFunction) static <T> @NotNull WeightedRandomBuilder<T>SimpleWeightedRandom.builder(@NotNull Collection<T> collection, @NotNull ToDoubleFunction<T> weightFunction) static <T> @NotNull WeightedRandomBuilder<T>@NotNull WeightedRandomBuilder<T>Установить фиксированную сумму для рандома.