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。


コンストラクタの概要
ToPrimitiveConverter(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
 

コンストラクタの詳細

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.