Package jfun.util.yield

Provides a simple framework that supports the Ruby-style yield.

See:
          Description

Interface Summary
Continuation A Continuation represents a program unit that takes control when a piece of data is received.
Iterable Represents anything that supports iteration via yield.
 

Class Summary
AbstractContinuation A default implementation of Continuation.
Continuator This class implements java.util.Iterator using a jfun.util.Iterable.
Iterables Utility class providing utility functions for Iterable.
 

Package jfun.util.yield Description

Provides a simple framework that supports the Ruby-style yield.
Programmer can use the convenient yield syntax to implement iterators. The framework is responsible for transforming the yield-iterator to the standard java.util.Iterator.

Package Specification

The code is developed and tested under Java 1.4.

Related Documentation

For overviews, tutorials, examples, guides, and tool documentation, please see README.txt: