Package org.apache.calcite.util
Class MonotonicSupplier<E>
java.lang.Object
org.apache.calcite.util.MonotonicSupplier<E>
- Type Parameters:
E
- Element type
Supplier that awaits a value and allows the value to be set, once,
to a not-null value. The value supplied by
get()
is never null.
Not thread-safe.