On Mon, Jul 26, 2010 at 7:29 PM, Rajarshi Guha <[email protected]> wrote: >> Iterator<IAtom> atoms = methane.atoms(); > > The idiom to iterate over atoms is > > for (IAtom atom : methane.atoms=()) { > }
Alternatively, you could do: Iterator<IAtom> atoms = methane.atoms().iterator(); Egon -- Post-doc @ Uppsala University Proteochemometrics / Bioclipse Group of Prof. Jarl Wikberg Homepage: http://egonw.github.com/ Blog: http://chem-bla-ics.blogspot.com/ PubList: http://www.citeulike.org/user/egonw/tag/papers ------------------------------------------------------------------------------ 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

