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:120–120 ·
view source on GitHub ↗
(int n)
Source
from the content-addressed store, hash-verified
118
return
r.nextInt(MOD);
119
}
120
public
int
get(
int
n) {
return
getAsInt(); }
121
public
int
[] array(
int
sz) {
122
return
r.ints(sz, 0, MOD).toArray();
123
}
Callers
nothing calls this directly
Calls
1
getAsInt
Method · 0.95
Tested by
no test coverage detected