I have a stripped down version of Java 1.4.2 that does not have the Iterator class. I am trying to port the T2Framework source to be able to run on this target, however, I have run into the following line of code:
for (Class D : domainMap.keySet())
where domainMap is of the type java.util.HashMap. For every other Iterator in this source I've encountered so far, I have been able to just use a for loop with an index to resolve the issue of not being able to use an Iterator, however, a Set in Java does not allow you to reference its data by index. Is there another way to access the data in a Set?