public abstract class LazyValue<T> extends Object implements Supplier<T>
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 and Description |
---|
LazyValue() |
Copyright © 2010 - 2020 Adobe. All Rights Reserved