Class LazyValue<T>
java.lang.Object
org.apache.jackrabbit.oak.commons.LazyValue<T>
- All Implemented Interfaces:
Supplier<T>
An instances of this class represents a lazy value of type
T.
LazyValue implements an evaluate by need semantics:
createValue() is called exactly once when get()
is called for the first time.
LazyValue instances are thread safe.
-
Constructor Summary
Constructors -
Method Summary