Class LazyValue<T>

java.lang.Object
com.oracle.truffle.js.runtime.util.LazyValue<T>
All Implemented Interfaces:
Supplier<T>

public final class LazyValue<T> extends Object implements Supplier<T>
  • Constructor Details

    • LazyValue

      public LazyValue(Supplier<T> supplier)
  • Method Details

    • get

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