How can I go through an Iterator mulitple times?
Created Oct 28, 2001
John Zukowski There is no direct support for this. You'll need to create your own caching mechanism. For instance, as you go through the Iterator the first time, add the elements to a LinkedList. Then, you can just get an Iterator from the LinkedList for the second pass through.