Class Instance.SingletonInstance<T>

  • Type Parameters:
    T - the type of instance supplied
    All Implemented Interfaces:
    Enclosing interface:

    public static class Instance.SingletonInstance<T>
    extends Object
    implements Supplier<T>
    A Supplier implementation that supplies the same singleton instance of a value each time its get() method is called.
    • Method Detail

      • get

        public T get()
        Specified by:
        get in interface Supplier<T>