woolpack.typeconvert
クラス ToCollectionViewConverter
java.lang.Object
woolpack.fn.Delegator<ConvertContext,Void,RuntimeException>
woolpack.typeconvert.ToCollectionViewConverter
- すべての実装されたインタフェース:
- Fn<ConvertContext,Void,RuntimeException>
public class ToCollectionViewConverter
- extends Delegator<ConvertContext,Void,RuntimeException>
List
、Collection
、Iterable
に変換する関数です。
変換前オブジェクトと変換後オブジェクトが相互に影響するかはパッケージに説明しています。
適用しているデザインパターン:Chain of Responsibility。
クラス java.lang.Object から継承されたメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ToCollectionViewConverter
public ToCollectionViewConverter(Fn<? super ConvertContext,Void,? extends RuntimeException> fn)
- パラメータ:
fn
- ConvertContext.getToType()
がCollection
でない場合の委譲先。
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.