RandomList

constructor(parent: ModelElement, elements: MutableList<T>, streamNum: Int = 0, name: String? = null)

Allows randomly selecting with equal probability from the elements of the list.

Parameters

parent

the parent of this element

elements

the elements in the list

streamNum

the stream number to use from the provider. The default is 0, which is the next stream.

name

the optional name of the model element