woolpack.typeconvert
クラス DelegationIfNecessityConverter
java.lang.Object
woolpack.fn.Delegator<ConvertContext,Void,RuntimeException>
woolpack.typeconvert.DelegationIfNecessityConverter
- すべての実装されたインタフェース:
- Fn<ConvertContext,Void,RuntimeException>
public class DelegationIfNecessityConverter
- extends Delegator<ConvertContext,Void,RuntimeException>
変換前の値が変換後の型の変数に設定可能でない場合に委譲する関数です。
適用しているデザインパターン:Balking。
クラス java.lang.Object から継承されたメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DelegationIfNecessityConverter
public DelegationIfNecessityConverter(Fn<? super ConvertContext,Void,? extends RuntimeException> fn)
- パラメータ:
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.