-
-
Method Summary
-
-
Method Detail
-
randomByWeight
abstract T randomByWeight(Function1<T, Boolean> block)
Returns a random T from the managed Ts based on Weighted.weight and block. Null if one cannot be picked.
- Parameters:
block
- block that filters applicable managed items
-
randomByWeight
T randomByWeight()
-
-
-
-