public interface ImmediateSupplier<T>
Modifier and Type | Interface and Description |
---|---|
static class |
ImmediateSupplier.ImmediateUnsupportedException
Indicates that we are unable to get the value immediately, because that is not supported
(e.g.
|
Modifier and Type | Method and Description |
---|---|
Maybe<T> |
getImmediately()
Gets the value promptly, or returns
Maybe.absent() if the value is not yet available. |
Maybe<T> getImmediately()
Maybe.absent()
if the value is not yet available.ImmediateSupplier.ImmediateUnsupportedException
- if cannot determinte the value immediately