take Randomly
Takes randomly the given amount of elements from this SemiOrderedArgsGenerator.
Since
2.0.0
Takes the given amount of elements from this Iterable (likewise Iterable.take) but in a random way based on the configured VariistConfig.seed.
Since
2.0.0
Throws
in case of an infinite Iterable.
Takes the given amount of elements from this Array (likewise Array.take) but in a random way based on the configured VariistConfig.seed.
Since
2.0.0
Takes the given amount of elements from this Sequence (likewise Sequence.take) but in a random way based on the configured VariistConfig.seed.
The operation is intermediate and stateful.
Since
2.0.0
Throws
in case of an infinite Sequence.