public abstract class AbstractAtomicDescriptor extends Object implements IAtomicDescriptor
Constructor and Description |
---|
AbstractAtomicDescriptor() |
Modifier and Type | Method and Description |
---|---|
void |
cacheDescriptorValue(IAtom atom,
IAtomContainer container,
IDescriptorResult value)
Caches a DescriptorValue for a given IAtom.
|
IDescriptorResult |
getCachedDescriptorValue(IAtom atom)
Returns the cached DescriptorValue for the given IAtom.
|
void |
initialise(IChemObjectBuilder builder)
Default implementation of initialise allows optional override.
|
boolean |
isCachedAtomContainer(IAtomContainer container)
Returns true if the cached IDescriptorResult's are for the given IAtomContainer.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
calculate
getDescriptorNames, getParameterNames, getParameters, getParameterType, getSpecification, initialise, setParameters
public boolean isCachedAtomContainer(IAtomContainer container)
container
- public IDescriptorResult getCachedDescriptorValue(IAtom atom)
atom
- the IAtom for which the DescriptorValue is requestedpublic void cacheDescriptorValue(IAtom atom, IAtomContainer container, IDescriptorResult value)
atom
- IAtom to cache the value forvalue
- DescriptorValue for the given IAtompublic void initialise(IChemObjectBuilder builder)
initialise
in interface IDescriptor
builder
- chem object buildCopyright © 2017. All Rights Reserved.