MCPcopy Create free account
hub / github.com/e2wugui/zeze / getInstance

Method getInstance

ZezeJava/ZezeJava/src/main/java/Zeze/Util/Random.java:9–11  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7
8public final class Random {
9 public static @NotNull ThreadLocalRandom getInstance() {
10 return ThreadLocalRandom.current();
11 }
12
13 public static byte @NotNull [] nextBytes(int size) {
14 var bytes = new byte[size];

Callers 15

benchRoleTimerMethod · 0.95
randCreateTaskMethod · 0.95
processMethod · 0.95
randAppMethod · 0.95
RunMethod · 0.95
getElectionTimeoutMethod · 0.95
testSortListMethod · 0.95
testCollectionsMethod · 0.95
testStableMethod · 0.95
testIntListMethod · 0.95
testLongListMethod · 0.95

Calls 1

currentMethod · 0.80

Tested by 15

benchRoleTimerMethod · 0.76
randCreateTaskMethod · 0.76
processMethod · 0.76
randAppMethod · 0.76
RunMethod · 0.76
getElectionTimeoutMethod · 0.76
testSortListMethod · 0.76
testCollectionsMethod · 0.76
testStableMethod · 0.76
testIntListMethod · 0.76
testLongListMethod · 0.76