MCPcopy 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
31class Filter extends Part {}

Callers

nothing calls this directly

Calls 2

getMethod · 0.65
sizeMethod · 0.45

Tested by

no test coverage detected