public class DefaultChemObjectBuilder extends Object implements IChemObjectBuilder
ICDKObject
for the original CDK
implementation.Modifier and Type | Method and Description |
---|---|
static IChemObjectBuilder |
getInstance() |
<T extends ICDKObject> |
newInstance(Class<T> clazz,
Object... params)
Creates a new instance of an
ICDKObject , using the constructor defined by the
given parameters. |
public static IChemObjectBuilder getInstance()
public <T extends ICDKObject> T newInstance(Class<T> clazz, Object... params)
IChemObjectBuilder
ICDKObject
, using the constructor defined by the
given parameters.newInstance
in interface IChemObjectBuilder
T
- Class of an interface extending ICDKObject
or ICDKObject
itself.clazz
- Interface class to instantiate an instance for.params
- Parameters passed to the constructor of the created instance.