Package | Description |
---|---|
org.cornutum.tcases.resolve |
Modifier and Type | Method and Description |
---|---|
<T> T |
ResolverContext.tryUntil(Stream<Optional<T>> results)
Returns the first result that is present.
|
<T> T |
ResolverContext.tryUntil(Supplier<Optional<T>> valueSupplier)
Repeats evaluation of the given
valueSupplier until a result is present or until
the maximum tries have been attempted. |
Copyright © 2024 The Cornutum Project. All rights reserved.