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
Constructors Constructor Description BasicCreator(Class<T> c)
Create a basic constructor with a given declaring class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<T>
getDeclaringClass()
Access 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
-
-
-
-
Method Detail
-
getDeclaringClass
public Class<T> getDeclaringClass()
Access the implementation of this class.- Specified by:
getDeclaringClass
in interfaceDynamicFactory.Creator<T>
- Returns:
- the implementation class to be created
-
-