jfun.util.yield
Class AbstractContinuation

java.lang.Object
  extended by jfun.util.yield.AbstractContinuation
All Implemented Interfaces:
Continuation

public abstract class AbstractContinuation
extends java.lang.Object
implements Continuation

A default implementation of Continuation. It simply wraps the primitive data as a corresponding Object and forwards the call to the abstract yield(Object).

Zephyr Business Solution

Author:
Ben Yu

Constructor Summary
AbstractContinuation()
           
 
Method Summary
 void yield(boolean v)
          Receives data of type boolean.
 void yield(byte v)
          Receives data of type byte.
 void yield(char c)
          Receives data of type char.
 void yield(double v)
          Receives data of type double.
 void yield(float v)
          Receives data of type float.
 void yield(int v)
          Receives data of type int.
 void yield(long v)
          Receives data of type long.
 void yield(short v)
          Receives data of type short.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface jfun.util.yield.Continuation
yield
 

Constructor Detail

AbstractContinuation

public AbstractContinuation()
Method Detail

yield

public final void yield(char c)
Description copied from interface: Continuation
Receives data of type char.

Specified by:
yield in interface Continuation
Parameters:
c - the data.

yield

public final void yield(boolean v)
Description copied from interface: Continuation
Receives data of type boolean.

Specified by:
yield in interface Continuation
Parameters:
v - the data.

yield

public final void yield(byte v)
Description copied from interface: Continuation
Receives data of type byte.

Specified by:
yield in interface Continuation
Parameters:
v - the data.

yield

public final void yield(short v)
Description copied from interface: Continuation
Receives data of type short.

Specified by:
yield in interface Continuation
Parameters:
v - the data.

yield

public final void yield(int v)
Description copied from interface: Continuation
Receives data of type int.

Specified by:
yield in interface Continuation
Parameters:
v - the data.

yield

public final void yield(long v)
Description copied from interface: Continuation
Receives data of type long.

Specified by:
yield in interface Continuation
Parameters:
v - the data.

yield

public final void yield(float v)
Description copied from interface: Continuation
Receives data of type float.

Specified by:
yield in interface Continuation
Parameters:
v - the data.

yield

public final void yield(double v)
Description copied from interface: Continuation
Receives data of type double.

Specified by:
yield in interface Continuation
Parameters:
v - the data.