Class MapBinder.RealMapBinder.MapBinderProviderWithDependencies<K,​V>

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Map<K,​Provider<V>> get()
      Provides an instance of T.
      java.util.Set<Dependency<?>> getDependencies()
      Returns the known dependencies for this type.
      void initialize()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • initialize

        public void initialize()
      • get

        public java.util.Map<K,​Provider<V>> get()
        Description copied from interface: Provider
        Provides an instance of T. Must never return null.
        Specified by:
        get in interface Provider<K>
      • getDependencies

        public java.util.Set<Dependency<?>> getDependencies()
        Description copied from interface: HasDependencies
        Returns the known dependencies for this type. If this has dependencies whose values are not known statically, a dependency for the Injector will be included in the returned set.
        Specified by:
        getDependencies in interface HasDependencies
        a possibly empty set