Class LazyValue<T>


  • public class LazyValue<T>
    extends Object
    Author:
    Martin Kouba
    • Constructor Detail

      • LazyValue

        public LazyValue​(Supplier<T> supplier)
    • Method Detail

      • get

        public T get()
      • getIfPresent

        public T getIfPresent()
      • clear

        public void clear()
      • isSet

        public boolean isSet()