composition is much better then inheritance :-)

Would be good to have enumeration but not sure if it would be worth it for all atom types. Also it isn't currently possible to create an enumeration on any CDK ChemObject as the interfaces overrides clone() to be public which enum does not allow.


On 11 Dec 2012, at 13:32, Egon Willighagen <> wrote:

I have been thinking
about making the IAtom not extend IAtomType but encapsulate i