Class LazyReference<T>

java.lang.Object
com.sk89q.worldedit.util.concurrency.LazyReference<T>

public class LazyReference<T> extends Object
Thread-safe lazy reference.
  • Method Details

    • from

      public static <T> LazyReference<T> from(Supplier<T> valueComputation)
    • getValue

      public T getValue()