Class LazyModule<T>

  • Type Parameters:
    T - The type of object to instantiate lazily.

    public class LazyModule<T>
    extends Object
    A helper module to support lazy loading of objects.
    Author:
    Collin Alpert
    • Constructor Detail

      • LazyModule

        public LazyModule​(Supplier<T> valueFactory)
    • Method Detail

      • getValue

        public T getValue()