Created a JavaToTraversable so that I can use the for loop over iterators.