java.dyn
Class Coroutine

java.lang.Object
  extended by java.dyn.CoroutineBase
      extended by java.dyn.Coroutine

public class Coroutine
extends CoroutineBase

Mock version of same class from Lukas Stadler's coro work.


Constructor Summary
Coroutine()
           
 
Method Summary
static CoroutineBase current()
           
protected  void run()
           
static void yieldTo(Coroutine coro)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Coroutine

public Coroutine()
Method Detail

current

public static CoroutineBase current()

yieldTo

public static void yieldTo(Coroutine coro)

run

protected void run()


Copyright © 2012. All Rights Reserved.