Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
8
public
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
benchRoleTimer
Method · 0.95
randCreateTask
Method · 0.95
process
Method · 0.95
randApp
Method · 0.95
Run
Method · 0.95
RandomTriggerFailActions
Method · 0.95
getElectionTimeout
Method · 0.95
testSortList
Method · 0.95
testCollections
Method · 0.95
testStable
Method · 0.95
testIntList
Method · 0.95
testLongList
Method · 0.95
Calls
1
current
Method · 0.80
Tested by
15
benchRoleTimer
Method · 0.76
randCreateTask
Method · 0.76
process
Method · 0.76
randApp
Method · 0.76
Run
Method · 0.76
RandomTriggerFailActions
Method · 0.76
getElectionTimeout
Method · 0.76
testSortList
Method · 0.76
testCollections
Method · 0.76
testStable
Method · 0.76
testIntList
Method · 0.76
testLongList
Method · 0.76