Returns a Stream of pseudorandomly chosen alphanumeric characters, equally chosen from A-Z, a-z, and 0-9.
Returns a Stream of pseudorandomly chosen alphanumeric characters, equally chosen from A-Z, a-z, and 0-9.
2.8
Returns string formatted according to given format
string.
Returns string formatted according to given format
string.
Format strings are as for String.format
(@see java.lang.String.format).
Returns the next pseudorandom, uniformly distributed boolean value from this random number generator's sequence.
Generates random bytes and places them into a user-supplied byte array.
Returns the next pseudorandom, uniformly distributed double value between 0.0 and 1.0 from this random number generator's sequence.
Returns the next pseudorandom, uniformly distributed float value between 0.0 and 1.0 from this random number generator's sequence.
Returns the next pseudorandom, Gaussian ("normally") distributed double value with mean 0.0 and standard deviation 1.0 from this random number generator's sequence.
Returns a pseudorandom, uniformly distributed int value between 0 (inclusive) and the specified value (exclusive), drawn from this random number generator's sequence.
Returns the next pseudorandom, uniformly distributed int value from this random number generator's sequence.
Returns the next pseudorandom, uniformly distributed long value from this random number generator's sequence.
Returns the next pseudorandom, uniformly distributed value from the ASCII range 33-126.
Returns a pseudorandomly generated String.
Returns a pseudorandomly generated String. This routine does not take any measures to preserve the randomness of the distribution in the face of factors like unicode's variable-length encoding, so please don't use this for anything important. It's primarily intended for generating test data.
the desired length of the String
the String
Returns a new collection of the same type in a randomly chosen order.
Returns a new collection of the same type in a randomly chosen order.
the shuffled collection