Functions

Link copied to clipboard
open fun forEach(p: Consumer<in T>)
Link copied to clipboard
Optional LinkingRule associated to the deployment.
Link copied to clipboard
open fun iterator(): Iterator<P>
Link copied to clipboard
fun <R> Iterable<R>.randomElement(randomGenerator: <Error class: unknown class>): R

Returns a random element of the Iterable using the provided randomGenerator.

Link copied to clipboard
fun <R> Iterable<R>.shuffled(randomGenerator: <Error class: unknown class>): Iterable<R>

Fisher–Yates shuffle algorithm using a RandomGenerator. More information on Wikipedia.

Link copied to clipboard
Link copied to clipboard
abstract fun stream(): Stream<P>