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 <T> void |
shuffleInplace(InplaceList<T> list,
Random rnd) |
static <T> void |
swap(List<T> list,
int i,
int j) |
public static <T> void shuffleInplace(InplaceList<T> list, Random rnd)
public static <T> void swap(List<T> list, int i, int j)
Copyright © 2015. All rights reserved.