Package | Description |
---|---|
org.openscience.cdk |
Modifier and Type | Method and Description |
---|---|
static DynamicFactory.ConstructorKey |
DynamicFactory.key(Class<?> intf,
Class<?>... types)
Creates a constructor key for use in accessing constructors.
|
Modifier and Type | Method and Description |
---|---|
Iterator<DynamicFactory.ConstructorKey> |
DynamicFactory.suggest(Class<?> intf)
Provides a list of all possible constructor keys for the provided
interface.
|
Modifier and Type | Method and Description |
---|---|
int |
DynamicFactory.ConstructorKey.compareTo(DynamicFactory.ConstructorKey o)
Orders constructor keys by the number of parameters and then this
name.
|
boolean |
DynamicFactory.ConstructorKey.isAssignable(DynamicFactory.ConstructorKey candidate)
Checks whether this key is assignable to the candidate.
|
<T> DynamicFactory.Creator<T> |
DynamicFactory.register(DynamicFactory.ConstructorKey key,
DynamicFactory.Creator<T> creator)
Register a constructor key with a defined
DynamicFactory.Creator . |
Copyright © 2017. All Rights Reserved.