MCPcopy Create free account
hub / github.com/ReadyTalk/avian / pseudoRandom

Method pseudoRandom

test/ArraysTest.java:14–16  ·  view source on GitHub ↗
(int seed)

Source from the content-addressed store, hash-verified

12 }
13
14 private static int pseudoRandom(int seed) {
15 return 3170425 * seed + 132102;
16 }
17
18 private static <T extends Comparable<T>> int shuffle(T[] array, int seed) {
19 for (int i = array.length; i > 1; --i) {

Callers 1

shuffleMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected