|
Woolpack API | |||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectwoolpack.misc.SleepFn<C,R>
C - R - public class SleepFn<C,R>
スリープするテスト用のFnです。
| コンストラクタの概要 | |
|---|---|
SleepFn(long sleepMillis)
|
|
| メソッドの概要 | |
|---|---|
R |
exec(C c)
関数を実行します。 |
long |
getSleepMillis()
|
void |
setSleepMillis(long sleepMillis)
|
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| コンストラクタの詳細 |
|---|
public SleepFn(long sleepMillis)
| メソッドの詳細 |
|---|
public R exec(C c)
throws java.lang.InterruptedException
Fn の記述:
Fn<C,R,java.lang.InterruptedException> 内の execc - コンテキスト役。
java.lang.InterruptedExceptionpublic long getSleepMillis()
public void setSleepMillis(long sleepMillis)
|
Woolpack API | |||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||