random

abstract fun random(random: Random): T

从集合中随机返回一个元素。

Return

随机元素

Parameters

random

随机数生成器