Guidewire interview question

Code an iterator for a Collection of Collections in Java.