public final class RandomizeHelper extends Object
| Constructor and Description |
|---|
RandomizeHelper() |
| Modifier and Type | Method and Description |
|---|---|
static <T> List<T> |
shuffle(List<T> elements)
This method will return a new list with the same elements, randomly reordered.
|
static <T> List<T> |
shuffle(List<T> elements,
Long seed)
This method will return a new list with the same elements, randomly reordered.
|
public static <T> List<T> shuffle(List<T> elements)
Copyright © 2021. All rights reserved.