Package org.openscience.cdk
Class DynamicFactory.BasicCreator<T>
java.lang.Object
org.openscience.cdk.DynamicFactory.BasicCreator<T>
- Type Parameters:
T
- the type of object that will be created
- All Implemented Interfaces:
DynamicFactory.Creator<T>
- Enclosing class:
- DynamicFactory
public abstract static class DynamicFactory.BasicCreator<T>
extends Object
implements DynamicFactory.Creator<T>
A simple creator that helps in creating an anonymous classes for a
creator.
-
Constructor Summary
ConstructorsConstructorDescriptionBasicCreator
(Class<T> c) Create a basic constructor with a given declaring class. -
Method Summary
Modifier and TypeMethodDescriptionAccess the implementation of this class.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.openscience.cdk.DynamicFactory.Creator
create
-
Constructor Details
-
BasicCreator
Create a basic constructor with a given declaring class.- Parameters:
c
- class to be created
-
-
Method Details
-
getDeclaringClass
Access the implementation of this class.- Specified by:
getDeclaringClass
in interfaceDynamicFactory.Creator<T>
- Returns:
- the implementation class to be created
-