MCPcopy Create free account
hub / github.com/CDSecLab/MJXT / setSeed

Method setSeed

src/main/java/utils/Hash.java:11–13  ·  view source on GitHub ↗
(long seed)

Source from the content-addressed store, hash-verified

9 private static Random random = new Random();
10
11 public static void setSeed(long seed) {
12 random.setSeed(seed);
13 }
14
15 public static long hash64(long x, long seed) {
16 x += seed;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected