| Package | Description |
|---|---|
| com.google.gwt.inject.client.multibindings |
| Modifier and Type | Method and Description |
|---|---|
static <K,V> GinMapBinder<K,V> |
GinMapBinder.newMapBinder(GinBinder 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 <K,V> GinMapBinder<K,V> |
GinMapBinder.newMapBinder(GinBinder 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 <K,V> GinMapBinder<K,V> |
GinMapBinder.newMapBinder(GinBinder 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 <K,V> GinMapBinder<K,V> |
GinMapBinder.newMapBinder(GinBinder 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 <K,V> GinMapBinder<K,V> |
GinMapBinder.newMapBinder(GinBinder 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 <K,V> GinMapBinder<K,V> |
GinMapBinder.newMapBinder(GinBinder 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. |
GinMapBinder<K,V> |
GinMapBinder.permitDuplicates()
Configures the
MapBinder to handle duplicate entries. |
Copyright © 2008–2018. All rights reserved.