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
クラス java.lang.Object から継承されたメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MapProvider
public MapProvider(List<Entry> entries,
Class type)
initCollection
protected T initCollection(T collection)
- デフォルトの
Injector
を使用してkey
とvalue
を取得し登録する。
- 定義:
- クラス
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.