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>

ListCollectionIterableに変換する関数です。 変換前オブジェクトと変換後オブジェクトが相互に影響するかはパッケージに説明しています。
適用しているデザインパターン:Chain of Responsibility。


コンストラクタの概要
ToCollectionViewConverter(Fn<? super ConvertContext,Void,? extends RuntimeException> fn)
           
 
メソッドの概要
 Void exec(ConvertContext c)
          関数を実行します。
 
クラス woolpack.fn.Delegator から継承されたメソッド
getFn, setFn
 
クラス 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.