Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/BruceEckel/OnJava8-Examples
/ get
Method
get
onjava/Rand.java:37–39 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
35
implements Supplier<java.lang.Byte> {
36
SplittableRandom r =
new
SplittableRandom(47);
37
@Override
public
java.lang.Byte get() {
38
return
(byte)r.nextInt(MOD);
39
}
40
public
java.lang.Byte get(
int
n) {
41
return
get();
42
}
Callers
1
array
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected