private IAtom createAtom ( Element element ) { IAtom atom = builder . newAtom ( ) ; atom . setSymbol ( element . symbol ( ) ) ; atom . setAtomicNumber ( element . atomicNumber ( ) ) ; return atom ; }
Create a new atom for the provided symbol . The atom is created by cloning an existing template . Unfortunately IChemObjectBuilders really show a slow down when SMILES processing .