Class LazyValue<T>


  • public class LazyValue<T>
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.function.Supplier<T> factory  
      private T value  
    • Constructor Summary

      Constructors 
      Constructor Description
      LazyValue​(java.util.function.Supplier<T> p_i48587_1_)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      T get()  
      • Methods inherited from class java.lang.Object

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

      • factory

        private java.util.function.Supplier<T> factory
      • value

        private T value
    • Constructor Detail

      • LazyValue

        public LazyValue​(java.util.function.Supplier<T> p_i48587_1_)
    • Method Detail

      • get

        public T get()