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();

 

Gives a Type Mismatch: methane.atoms() is an Iterable, not an Iterator.

 

Could somebody point out how to solve this problem or what I am doing wrong?

 

Thanks in advance,

 

Nick VANDEWIELE

 

------------------------------------------------------------------------------
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