public abstract class Shuffle extends Object
| Constructor and Description |
|---|
Shuffle() |
| Modifier and Type | Method and Description |
|---|---|
static <T> void |
shuffle(List<T> list,
Random rnd) |
static void |
shuffleInplace(InplaceList<?> list,
Random rnd) |
static <T> void |
swap(List<T> list,
int i,
int j) |
public static void shuffleInplace(InplaceList<?> list, Random rnd)
public static <T> void swap(List<T> list, int i, int j)
Copyright © 2015. All rights reserved.