MCPcopy Index your code
hub / github.com/BruceEckel/OnJava8-Examples / GenericWithCreate

Class GenericWithCreate

generics/CreatorGeneric.java:6–10  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4// Visit http://OnJava8.com for more book information.
5
6abstract class GenericWithCreate<T> {
7 final T element;
8 GenericWithCreate() { element = create(); }
9 abstract T create();
10}
11
12class X {}
13

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected