P - the parent type to which the factory is limited topublic interface Factory<P>
| Modifier and Type | Method and Description |
|---|---|
<C extends P> |
newInstance(Class<C> clazz)
Creates an instance of the given class.
|
Copyright © 2017. All rights reserved.