woolpack.typeconvert
クラス ToPrimitiveConverter
java.lang.Object
woolpack.fn.Delegator<ConvertContext,Void,RuntimeException>
woolpack.typeconvert.ToPrimitiveConverter
- すべての実装されたインタフェース:
- Fn<ConvertContext,Void,RuntimeException>
public class ToPrimitiveConverter
- extends Delegator<ConvertContext,Void,RuntimeException>
プリミティブ型をラッパー型に置き換えて委譲する関数です。
適用しているデザインパターン:コンテキストの状態を変えて委譲するProxy。
クラス java.lang.Object から継承されたメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ToPrimitiveConverter
public ToPrimitiveConverter(Fn<? super ConvertContext,Void,? extends RuntimeException> fn)
exec
public Void exec(ConvertContext c)
- インタフェース
Fn
の記述:
- 関数を実行します。
- 定義:
- インタフェース
Fn<ConvertContext,Void,RuntimeException>
内の exec
- オーバーライド:
- クラス
Delegator<ConvertContext,Void,RuntimeException>
内の exec
- パラメータ:
c
- コンテキスト役。
- 戻り値:
- 返却値。
Copyright (C) 2006-2007 Takahiro Nakamura. All rights reserved.