Class 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
    Binds Map<K, Set<V>> and {Map<K, Set<Provider<V>>>.

    This will only exist if permitDuplicates() is called.

    • Method Detail

      • configure

        public void configure​(Binder binder)
        Description copied from interface: Module
        Contributes bindings and other configurations for this module to binder.

        Do not invoke this method directly to install submodules. Instead use Binder.install(Module), which ensures that provider methods are discovered.

        Specified by:
        configure in interface Module
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object