|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use MapBinder | |
---|---|
com.google.inject.multibindings | Extension for binding multiple instances in a collection; this extension requires guice-multibindings-3.0.jar . |
Uses of MapBinder in com.google.inject.multibindings |
---|
Methods in com.google.inject.multibindings that return MapBinder | ||
---|---|---|
static
|
MapBinder.newMapBinder(Binder binder,
Class<K> keyType,
Class<V> valueType)
Returns a new mapbinder that collects entries of keyType /valueType in a
Map that is itself bound with no binding annotation. |
|
static
|
MapBinder.newMapBinder(Binder binder,
Class<K> keyType,
Class<V> valueType,
Annotation annotation)
Returns a new mapbinder that collects entries of keyType /valueType in a
Map that is itself bound with annotation . |
|
static
|
MapBinder.newMapBinder(Binder binder,
Class<K> keyType,
Class<V> valueType,
Class<? extends Annotation> annotationType)
Returns a new mapbinder that collects entries of keyType /valueType in a
Map that is itself bound with annotationType . |
|
static
|
MapBinder.newMapBinder(Binder binder,
TypeLiteral<K> keyType,
TypeLiteral<V> valueType)
Returns a new mapbinder that collects entries of keyType /valueType in a
Map that is itself bound with no binding annotation. |
|
static
|
MapBinder.newMapBinder(Binder binder,
TypeLiteral<K> keyType,
TypeLiteral<V> valueType,
Annotation annotation)
Returns a new mapbinder that collects entries of keyType /valueType in a
Map that is itself bound with annotation . |
|
static
|
MapBinder.newMapBinder(Binder binder,
TypeLiteral<K> keyType,
TypeLiteral<V> valueType,
Class<? extends Annotation> annotationType)
Returns a new mapbinder that collects entries of keyType /valueType in a
Map that is itself bound with annotationType . |
|
abstract MapBinder<K,V> |
MapBinder.permitDuplicates()
Configures the MapBinder to handle duplicate entries. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |