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:148–148 ·
view source on GitHub ↗
(int n)
Source
from the content-addressed store, hash-verified
146
return
r.nextLong(MOD);
147
}
148
public
long get(
int
n) {
return
getAsLong(); }
149
public
long[] array(
int
sz) {
150
return
r.longs(sz, 0, MOD).toArray();
151
}
Callers
nothing calls this directly
Calls
1
getAsLong
Method · 0.95
Tested by
no test coverage detected