Package | Description |
---|---|
org.anchoranalysis.core.functional |
Utilities and interfaces for applying functional-programming.
|
Modifier and Type | Method and Description |
---|---|
static <E extends Exception> |
FunctionalIterate.repeatCountSuccessful(int numberTimes,
CheckedBooleanSupplier<E> operation)
Repeats an operation a number of times, counting the number of times the operation returns
true.
|
static <E extends Exception> |
FunctionalIterate.repeatUntil(int maxNumberTimes,
CheckedBooleanSupplier<E> supplier)
Repeats an operation until a true value is returned.
|
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.