From: Kent J. <kjo...@tr...> - 2001-04-04 15:23:24
|
Is there a way for a jython program to iterate over the data in a Collection using a for loop? If I try for aKey in myMap.getKeys(): or for (aKey, aValue) in myMap.entries() I get an AttributeError on __getitem__ Do I have to explicitly use Iterators to make this work? P.S. I am using Java 1.1 collections if it matters Kent Johnson Transparent Language, Inc. kjo...@tr... http://www.transparent.com |