Provide an iterator over the contents of two lists simultaneously?
Anyway, the problem is that I can’t really return just a single object from next(), and I also can’t have a Iterator take more than one type. So, any thoughts? Obviously you are going to need a light-weight “pair” class. This is roughly analogous to the Map.Entry inner class. Here’s a rough cut at a … Read more