Код: Выделить всё
// Scala
util.Random.shuffle((1 to 24).toList)
Код: Выделить всё
IntStream.range(1, 25)
Код: Выделить всё
collect(
Supplier supplier, ObjIntConsumer accumulator, BiConsumer combiner)
Подробнее здесь: https://stackoverflow.com/questions/200 ... treams-api