Provides a generic operation for producing an instance of a type.
@version $Rev: 815435 $ $Date: 2009-09-15 14:18:44 -0400 (Tue, 15 Sep 2009) $ bean type
An object that produces some {@link java.lang.Object} each time the{@link #produce()} method is invoked. This behavior is similar to the{@link java.util.Iterator}, but is represented by one single {@link #produce()} method as opposed to {@link java.util.Iterator}'s two methods {@link java.util.Iterator#hasNext()} and{@link java.util.Iterator#next()}. This simplifies the implementation of certain complex iterations.
@see org.codehaus.janino.util.iterator.DirectoryIterator
@see org.codehaus.janino.util.iterator.ProducerIterator
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.