Package | Description |
---|---|
org.anchoranalysis.core.functional |
Utilities and interfaces for applying functional-programming.
|
Modifier and Type | Method and Description |
---|---|
static <S,E extends Exception> |
CheckedStream.mapToInt(java.util.stream.Stream<S> stream,
Class<? extends Exception> throwableClass,
CheckedToIntFunction<S,E> mapFunction)
Performs a
Stream.mapToInt(java.util.function.ToIntFunction<? super T>) but accepts a function that can throw a checked-exception. |
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.