net.ericaro.neoitertools.generators
Class FullYieldGenerator<R,T>

java.lang.Object
  extended by net.ericaro.neoitertools.generators.FullYieldGenerator<R,T>
All Implemented Interfaces:
YieldGenerator<R,T>

public class FullYieldGenerator<R,T>
extends java.lang.Object
implements YieldGenerator<R,T>

A YieldGenerator based on a Yield statement. Instead of implementing the Generator protocol, it implements the more advanced YieldGenerator one.

Author:
eric
See Also:
FullYieldGenerator's wiki page, neoitertools site

Constructor Summary
FullYieldGenerator(Yield<R,T> function)
           
 
Method Summary
 T next(R u)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FullYieldGenerator

public FullYieldGenerator(Yield<R,T> function)
Method Detail

next

public T next(R u)
Specified by:
next in interface YieldGenerator<R,T>


Copyright © 2011. All Rights Reserved.