Package org.openscience.cdk.hash
Interface AtomEncoder
- All Known Implementing Classes:
BasicAtomEncoder
public interface AtomEncoder
An encoder for invariant atom properties. The encoders are used to seed the
the generation of atomic hash codes.
- Author:
- John May
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionintencode(IAtom atom, IAtomContainer container) Encode an invariant attribute of the given atom.
-
Method Details
-
encode
Encode an invariant attribute of the given atom. The atom and container should not to be null.- Parameters:
atom- non-null atom belonging to the containercontainer- non-null container- Returns:
- encoding of an invariant atom attribute
-