Woolpack API

woolpack.id
クラス IdUtils

java.lang.Object
  上位を拡張 woolpack.id.IdUtils

public final class IdUtils
extends java.lang.Object

ユーティリティです。 型推論で表記を簡略するためのスタティックメソッドと変数を含みます。

作成者:
nakamura

フィールドの概要
static IdGetter<java.lang.RuntimeException> GET_ID
           
 
メソッドの概要
static
<R,E extends java.lang.Exception>
IdConverter<R,E>
convertId(Fn<? super java.lang.String,java.lang.String,? extends E> fn)
           
static
<E extends java.lang.Exception>
IdGetter<E>
getId()
           
static
<C extends IdContext,R,E extends java.lang.Exception>
LocalId<C,R,E>
localId(Fn<? super C,? extends R,? extends E> fn)
           
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

GET_ID

public static final IdGetter<java.lang.RuntimeException> GET_ID
メソッドの詳細

getId

public static <E extends java.lang.Exception> IdGetter<E> getId()

convertId

public static <R,E extends java.lang.Exception> IdConverter<R,E> convertId(Fn<? super java.lang.String,java.lang.String,? extends E> fn)

localId

public static <C extends IdContext,R,E extends java.lang.Exception> LocalId<C,R,E> localId(Fn<? super C,? extends R,? extends E> fn)

Woolpack API

Copyright (C) 2006-2007 Takahiro Nakamura. All rights reserved.