1: //: com:bruceeckel:util:Generator.java 2: // From 'Thinking in Java, 2nd ed.' by Bruce Eckel 3: // www.BruceEckel.com. See copyright notice in CopyRight.txt. 4: package com.bruceeckel.util; 5: public interface Generator { 6: Object next(); 7: } ///:~