org.guiceex.provider
クラス MapProvider<T extends Map>

java.lang.Object
  上位を拡張 org.guiceex.provider.CollectionProviderSupport<T>
      上位を拡張 org.guiceex.provider.MapProvider<T>
すべての実装されたインタフェース:
Provider

public class MapProvider<T extends Map>
extends CollectionProviderSupport<T>
implements Provider

Map型のコレクションのProvider

作成者:
matu◆AliceLAklI

フィールドの概要
 
クラス org.guiceex.provider.CollectionProviderSupport から継承されたフィールド
entries, injector, type
 
コンストラクタの概要
MapProvider(List<Entry> entries, Class type)
           
 
メソッドの概要
static
<T extends Map>
Provider<T>
fromList(List<Entry> entries, Class<T> type)
          MapProviderインスタンスを作成する。
protected  T initCollection(T collection)
          デフォルトのInjectorを使用してkeyvalue を取得し登録する。
 
クラス org.guiceex.provider.CollectionProviderSupport から継承されたメソッド
get
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
インタフェース com.google.inject.Provider から継承されたメソッド
get
 

コンストラクタの詳細

MapProvider

public MapProvider(List<Entry> entries,
                   Class type)
メソッドの詳細

initCollection

protected T initCollection(T collection)
デフォルトのInjectorを使用してkeyvalue を取得し登録する。

定義:
クラス CollectionProviderSupport<T extends Map> 内の initCollection

fromList

public static <T extends Map> Provider<T> fromList(List<Entry> entries,
                                                   Class<T> type)
MapProviderインスタンスを作成する。

型パラメータ:
T -
パラメータ:
entries - Mapへ登録する要素。
type - 作成するMapの具象型。
戻り値:


Copyright © 2007. All Rights Reserved.