Package com.google.inject.internal
Class RealMapBinder.MultimapBinder<K,V>
- java.lang.Object
-
- com.google.inject.internal.RealMapBinder.MultimapBinder<K,V>
-
- All Implemented Interfaces:
Module
- Enclosing class:
- RealMapBinder<K,V>
private static final class RealMapBinder.MultimapBinder<K,V> extends java.lang.Object implements Module
BindsMap<K, Set<V>>and {Map<K, Set<Provider<V>>>.This will only exist if permitDuplicates() is called.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static classRealMapBinder.MultimapBinder.RealMultimapProvider<K,V>private static classRealMapBinder.MultimapBinder.RealProviderMultimapProvider<K,V>
-
Field Summary
Fields Modifier and Type Field Description private RealMapBinder.BindingSelection<K,V>bindingSelection
-
Constructor Summary
Constructors Modifier Constructor Description privateMultimapBinder(RealMapBinder.BindingSelection<K,V> bindingSelection)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconfigure(Binder binder)Contributes bindings and other configurations for this module tobinder.booleanequals(java.lang.Object o)inthashCode()
-
-
-
Field Detail
-
bindingSelection
private final RealMapBinder.BindingSelection<K,V> bindingSelection
-
-
Constructor Detail
-
MultimapBinder
private MultimapBinder(RealMapBinder.BindingSelection<K,V> bindingSelection)
-
-
Method Detail
-
configure
public void configure(Binder binder)
Description copied from interface:ModuleContributes bindings and other configurations for this module tobinder.Do not invoke this method directly to install submodules. Instead use
Binder.install(Module), which ensures thatprovider methodsare discovered.
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
-