author | Jaroslav Tulach <jaroslav.tulach@apidesign.org> |
Fri, 03 Apr 2020 16:32:36 +0200 | |
changeset 416 | 9ed8788a1a4e |
parent 142 | e220ab4a7afa |
permissions | -rw-r--r-- |
1 package org.apidesign.template;
4 // BEGIN: generics.constructor.template1
5 public final class Template extends Object {
6 private final Class type;
8 public Template(Class type) { this.type = type; }
9 public Class getType() { return type; }
12 public Template() { this(Object.class); }
13 }
14 // END: generics.constructor.template1