On Mon, Jul 26, 2010 at 1:10 PM, Nick Vandewiele
<[email protected]> wrote:
> Hi,
>
> cdk.tools.CDKHydrogenAdder provides an example on how to add implicit
> hydrogens to an IAtomContainer.
>
> However, when I copy-paste this into my Eclipse workbench, the line:
>
> Iterator<IAtom> atoms = methane.atoms();

The idiom to iterate over atoms is

for (IAtom atom : methane.atoms=()) {
}

-- 
Rajarshi Guha
NIH Chemical Genomics Center

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share 
of $1 Million in cash or HP Products. Visit us here for more details:
http://ad.doubleclick.net/clk;226879339;13503038;l?
http://clk.atdmt.com/CRS/go/247765532/direct/01/
_______________________________________________
Cdk-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cdk-user

Reply via email to