T
- The type of objects that can be created.public interface Instantiable<T>
Modifier and Type | Method and Description |
---|---|
T |
createInstance()
Creates an object.
|
String |
getClassName()
Gets the fully qualified name of the
Class of the objects that can
be created. |
Class<? extends T> |
loadClass()
Loads the class corresponding to the objects that are created by
createInstance() . |
String getClassName()
Class
of the objects that can
be created.Class<? extends T> loadClass() throws InstantiableException
createInstance()
.
Note that this class may not be precisely T.class
but instead a
subclass thereof.
T createInstance() throws InstantiableException
InstantiableException
Copyright © 2015–2022 SciJava. All rights reserved.