jyield
Class Continuation

java.lang.Object
  extended by jyield.Continuation
Direct Known Subclasses:
YieldContextImpl

public abstract class Continuation
extends java.lang.Object


Constructor Summary
Continuation()
           
 
Method Summary
abstract  boolean isDone()
           
static ContinuationContext join(Continuation other)
           
abstract  boolean resume()
           
static ContinuationContext suspend()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Continuation

public Continuation()
Method Detail

suspend

public static ContinuationContext suspend()

isDone

public abstract boolean isDone()

join

public static ContinuationContext join(Continuation other)

resume

public abstract boolean resume()
Returns:
true if is not done


Copyright © 2010. All Rights Reserved.