private static final class RealMapBinder.MultimapBinder<K,V> extends java.lang.Object implements Module
Map<K, Set<V>>
and {Map<K, Set<Provider<V>>>
.
This will only exist if permitDuplicates() is called.
Modifier and Type | Class and Description |
---|---|
private static class |
RealMapBinder.MultimapBinder.RealMultimapProvider<K,V> |
private static class |
RealMapBinder.MultimapBinder.RealProviderMultimapProvider<K,V> |
Modifier and Type | Field and Description |
---|---|
private RealMapBinder.BindingSelection<K,V> |
bindingSelection |
Modifier | Constructor and Description |
---|---|
private |
MultimapBinder(RealMapBinder.BindingSelection<K,V> bindingSelection) |
Modifier and Type | Method and Description |
---|---|
void |
configure(Binder binder)
Contributes bindings and other configurations for this module to
binder . |
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
private final RealMapBinder.BindingSelection<K,V> bindingSelection
private MultimapBinder(RealMapBinder.BindingSelection<K,V> bindingSelection)
public void configure(Binder binder)
Module
binder
.
Do not invoke this method directly to install submodules. Instead use
Binder.install(Module)
, which ensures that provider methods
are
discovered.
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object