produces a stream of random strings
(Changed in version 2.8.0) collect
has changed. The previous behavior can be reproduced with toSeq
.
Tell whether there is a next value.
Tell whether there is a next value. The stream is infinite, the answer is Yes.
true
Produces a list of n values
Produces a list of n values
the number of values
a list of values
Transforms this stream to the stream of values of type U, by mapping
Transforms this stream to the stream of values of type U, by mapping
the type of result of f
the function that transforms data
another InfiniteStream, with values produced by applying f
Reset this generator, by, say, seeding your rng(s)
Reset this generator, by, say, seeding your rng(s)
the seed
this instance
Random numbers generator used for a variety of purposes; not necessarily the values
Random numbers generator used for a variety of purposes; not necessarily the values
the generator, standard scala.util.Random
A flag that tells whether we should skip the value and build an empty instead It's overridden in ProbabilityOfEmpty trait
A flag that tells whether we should skip the value and build an empty instead It's overridden in ProbabilityOfEmpty trait
true if skip
produces a stream of random strings
Infinite stream of values produced by sourceOfData when given the rng
Infinite stream of values produced by sourceOfData when given the rng
a stream of random data
Here we specify the probability of value returned being empty
Here we specify the probability of value returned being empty
the probability; this is the ratio of empty values in putput stream
Generator of random text-related FeatureTypes
the type of generated results, a FeatureType that is a subtype of Text
produces a stream of random strings