public abstract class AbstractBondDescriptor extends Object implements IBondDescriptor
Constructor and Description |
---|
AbstractBondDescriptor() |
Modifier and Type | Method and Description |
---|---|
void |
cacheDescriptorValue(IBond bond,
IAtomContainer container,
IDescriptorResult doubleResult)
Caches a DescriptorValue for a given IBond.
|
IDescriptorResult |
getCachedDescriptorValue(IBond bond)
Returns the cached DescriptorValue for the given IBond.
|
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(IBond bond)
bond
- the IAtom for which the DescriptorValue is requestedpublic void cacheDescriptorValue(IBond bond, IAtomContainer container, IDescriptorResult doubleResult)
bond
- IBond to cache the value fordoubleResult
- DescriptorValue for the given IBondpublic void initialise(IChemObjectBuilder builder)
initialise
in interface IDescriptor
builder
- chem object buildCopyright © 2021. All rights reserved.