Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/BruceEckel/OnJava8-Examples
/ get
Method
get
reflection/RegisteredFactories.java:25–28 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
23
);
24
private
static
Random rand =
new
Random(47);
25
@Override
public
Part get() {
26
int
n = rand.nextInt(prototypes.size());
27
return
prototypes.get(n).get();
28
}
29
}
30
31
class
Filter extends Part {}
Callers
nothing calls this directly
Calls
2
get
Method · 0.65
size
Method · 0.45
Tested by
no test coverage detected