Class LazyValue<T>

java.lang.Object
org.hibernate.internal.util.LazyValue<T>
Type Parameters:
T - The type of object referenced

public class LazyValue<T> extends Object
A lazily accessible object reference. Useful for cases where final references are needed (anon inner class, lambdas, etc).
  • Field Details

    • NULL

      public static final Object NULL
  • Constructor Details

    • LazyValue

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

    • getValue

      public T getValue()