Class ProviderLookup.ProviderImpl<T>

  • All Implemented Interfaces:
    Provider<T>
    Enclosing class:
    ProviderLookup<T>

    public static class ProviderLookup.ProviderImpl<T>
    extends java.lang.Object
    implements Provider<T>
    • Method Summary

      Modifier and Type Method Description
      T get()
      Provides an instance of T.
      Key<T> getKey()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

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

      • get

        public T get()
        Description copied from interface: Provider
        Provides an instance of T. Must never return null.
        Specified by:
        get in interface Provider<T>
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • getKey

        public Key<T> getKey()