org.logicalcobwebs.concurrent
类 FJTask.Wrap

java.lang.Object
  继承者 org.logicalcobwebs.concurrent.FJTask
      继承者 org.logicalcobwebs.concurrent.FJTask.Wrap
所有已实现的接口:
Runnable
包容类:
FJTask

public static class FJTask.Wrap
extends FJTask

A FJTask that holds a Runnable r, and calls r.run when executed. The class is a simple utilty to allow arbitrary Runnables to be used as FJTasks.


嵌套类摘要
 
从类 org.logicalcobwebs.concurrent.FJTask 继承的嵌套类/接口
FJTask.Par, FJTask.Par2, FJTask.Seq, FJTask.Seq2, FJTask.Wrap
 
字段摘要
protected  Runnable runnable
           
 
构造方法摘要
FJTask.Wrap(Runnable r)
           
 
方法摘要
 void run()
           
 
从类 org.logicalcobwebs.concurrent.FJTask 继承的方法
cancel, coInvoke, coInvoke, fork, getFJTaskRunner, getFJTaskRunnerGroup, invoke, isDone, join, par, par, reset, seq, seq, setDone, start, yield
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

字段详细信息

runnable

protected final Runnable runnable
构造方法详细信息

FJTask.Wrap

public FJTask.Wrap(Runnable r)
方法详细信息

run

public void run()


Copyright © 2014. All rights reserved.