|
|||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectwoolpack.id.IdUtils
public final class IdUtils
識別子のコンテキストに関するユーティリティです。
フィールドの概要 | |
---|---|
static Fn<IdContext,String,RuntimeException> |
GET_ID
IdContext.getId() を返す関数です。 |
メソッドの概要 | ||
---|---|---|
static
|
convertId(Fn<? super String,String,? extends E> fn)
id の変換を委譲する関数を生成します。 |
|
static
|
getId()
IdContext.getId() を返す関数を生成します。 |
|
static
|
localId(Fn<? super C,? extends R,? extends E> fn)
委譲先から復帰したときに識別子の値を呼び出し時の状態に初期化する Fn です。 |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
フィールドの詳細 |
---|
public static final Fn<IdContext,String,RuntimeException> GET_ID
IdContext.getId()
を返す関数です。
メソッドの詳細 |
---|
public static <E extends Exception> Fn<IdContext,String,E> getId()
IdContext.getId()
を返す関数を生成します。
E
-
public static <R,E extends Exception> Fn<IdContext,R,E> convertId(Fn<? super String,String,? extends E> fn)
R
- E
- fn
- 委譲先。
public static <C extends IdContext,R,E extends Exception> Fn<C,R,E> localId(Fn<? super C,? extends R,? extends E> fn)
Fn
です。
C
- R
- E
- fn
- 委譲先。
|
|||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |