Package | Description |
---|---|
org.anchoranalysis.core.functional |
Utilities and interfaces for applying functional-programming.
|
org.anchoranalysis.feature.bean.list |
A feature-list (custom list type for features) and associated providers.
|
org.anchoranalysis.image.voxel.object |
The fundamental data class that is an
ObjectMask
and related structures. |
Modifier and Type | Method and Description |
---|---|
static <T,E extends Exception> |
CheckedStream.mapIntStream(java.util.stream.IntStream stream,
Class<? extends Exception> throwableClass,
CheckedIntFunction<T,E> mapFunc)
Creates a new feature-list by mapping integers (from a range) each to an optional feature
accepting a checked-exception
|
static <T,E extends Exception> |
CheckedStream.mapToObj(java.util.stream.IntStream stream,
Class<? extends Exception> throwableClass,
CheckedIntFunction<T,E> mapFunction)
Performs a
IntStream.mapToObj(java.util.function.IntFunction<? extends U>) but accepts a function that can throw a
checked-exception. |
Modifier and Type | Method and Description |
---|---|
static <T extends FeatureInput,E extends Exception> |
FeatureListFactory.mapFromRangeOptional(int startInclusive,
int endExclusive,
Class<? extends Exception> throwableClass,
CheckedIntFunction<Optional<Feature<T>>,E> mapFunc)
Creates a new feature-list by mapping integers (from a range) each to an optional feature
|
Modifier and Type | Method and Description |
---|---|
static <E extends Exception> |
ObjectCollectionFactory.flatMapFromRange(int startInclusive,
int endExclusive,
Class<? extends Exception> throwableClass,
CheckedIntFunction<ObjectCollection,E> mapFunction)
Creates a new collection by flat-mapping integers (from a range) each to a
ObjectCollection . |
static <E extends Exception> |
ObjectCollectionFactory.mapFromRange(int startInclusive,
int endExclusive,
Class<? extends Exception> throwableClass,
CheckedIntFunction<ObjectMask,E> mapFunction)
Creates a new collection by mapping integers (from a range) each to a
ObjectMask . |
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.