Uses of Interface
org.anchoranalysis.core.functional.checked.CheckedSupplier
Packages that use CheckedSupplier
Package
Description
Caching (memozing) calls to a method so an operation does not need to be repeated.
Utilities and interfaces for applying functional-programming.
Recording the execution-time of operations for profiling.
Non-bean classes for reading a
Stack
from the
filesystem.Implementations of
FeatureSingleObject
.Implementations of
FeatureSingleObject
that determine if an
object lies at the border of an image.Implementations of
FeatureSingleObject
that reference a
particular Channel
in the associated EnergyStack
.Non-bean classes pertaining to
Feature
s as used in tasks.Non-bean classes pertaining to combining stacks into a single stack.
CalculationPart
related to fitting
ellipsoids to points by least-squares.-
Uses of CheckedSupplier in org.anchoranalysis.core.cache
Classes in org.anchoranalysis.core.cache that implement CheckedSupplierModifier and TypeClassDescriptionclass
CachedSupplier<T,
E extends Exception> Memoizes (caches) aCheckedSupplier
.Methods in org.anchoranalysis.core.cache with parameters of type CheckedSupplierModifier and TypeMethodDescriptionstatic <T,
E extends Exception>
CachedSupplier<T, E> CachedSupplier.cacheChecked
(CheckedSupplier<T, E> suppplier) Creates a cached-version of aCheckedSupplier
.CachedSupplierBase.call
(CheckedSupplier<T, E> supplier) Gets the value supplied bysupplier
via the cache if it exists, or otherwise via the supplier. -
Uses of CheckedSupplier in org.anchoranalysis.core.functional
Methods in org.anchoranalysis.core.functional with parameters of type CheckedSupplierModifier and TypeMethodDescriptionOptionalFactory.createChecked
(boolean flag, CheckedSupplier<T, E> supplier) LikeOptionalFactory.create(boolean, T)
but accepts a supplier that throws a checked/exception.static <T,
E extends Exception>
TOptionalUtilities.orElseGet
(Optional<T> optional, CheckedSupplier<T, E> supplier) LikeOptional.orElseGet(java.util.function.Supplier<? extends T>)
but tolerates an exception in the supplier function, which is immediately thrown.OptionalUtilities.orElseGetFlat
(Optional<T> optional, CheckedSupplier<Optional<T>, E>... suppliers) LikeOptionalUtilities.orElseGet(java.util.Optional<T>, org.anchoranalysis.core.functional.checked.CheckedSupplier<T, E>)
but returns aOptional
and can chain many alternatives.OptionalUtilities.orFlatSupplier
(CheckedSupplier<Optional<T>, E>... optional) LikeOptionalUtilities.orFlatSupplier(Iterable)
but allowsOptional
s to be specified as variable-arguments.FunctionalIterate.repeatAsStream
(int numberTimes, Class<? extends E> throwableClass, CheckedSupplier<T, E> supplier) Repeats an operation a number of times, to form aStream
.Method parameters in org.anchoranalysis.core.functional with type arguments of type CheckedSupplierModifier and TypeMethodDescriptionOptionalUtilities.orFlatSupplier
(Iterable<CheckedSupplier<Optional<T>, E>> optionals) The first optional if it's present, or the second, or the third etc. using an iterable and aCheckedSupplier
. -
Uses of CheckedSupplier in org.anchoranalysis.core.time
Methods in org.anchoranalysis.core.time with parameters of type CheckedSupplierModifier and TypeMethodDescription<T,
E extends Exception>
TExecutionTimeRecorder.recordExecutionTime
(String operationIdentifier, CheckedSupplier<T, E> operation) Executes anoperation
while recording the execution-time - with a return type. -
Uses of CheckedSupplier in org.anchoranalysis.image.io.stack.input
Constructors in org.anchoranalysis.image.io.stack.input with parameters of type CheckedSupplierModifierConstructorDescriptionImageMetadataInput
(NamedFile file, CheckedSupplier<ImageMetadata, ImageIOException> metadata) Create for a particular file and metadata. -
Uses of CheckedSupplier in org.anchoranalysis.plugin.image.feature.bean.object.single
Methods in org.anchoranalysis.plugin.image.feature.bean.object.single with parameters of type CheckedSupplierModifier and TypeMethodDescriptionprotected abstract double
OutlineKernelBase.calculateWithParameters
(ObjectMask object, KernelApplicationParameters parameters, CheckedSupplier<EnergyStack, FeatureCalculationException> energyStack) Calculates the feature value using the specified parameters. -
Uses of CheckedSupplier in org.anchoranalysis.plugin.image.feature.bean.object.single.border
Methods in org.anchoranalysis.plugin.image.feature.bean.object.single.border with parameters of type CheckedSupplierModifier and TypeMethodDescriptionprotected double
NumberVoxelsAtBorder.calculateWithParameters
(ObjectMask object, KernelApplicationParameters parameters, CheckedSupplier<EnergyStack, FeatureCalculationException> energyStack) -
Uses of CheckedSupplier in org.anchoranalysis.plugin.image.feature.bean.object.single.energy
Methods in org.anchoranalysis.plugin.image.feature.bean.object.single.energy with parameters of type CheckedSupplierModifier and TypeMethodDescriptionprotected double
NumberNeighboringVoxels.calculateWithParameters
(ObjectMask object, KernelApplicationParameters parameters, CheckedSupplier<EnergyStack, FeatureCalculationException> energyStack) -
Uses of CheckedSupplier in org.anchoranalysis.plugin.image.task.feature
Methods in org.anchoranalysis.plugin.image.task.feature that return CheckedSupplierModifier and TypeMethodDescriptionResultsVectorWithThumbnail.getResultsVector()
Supplier for theResultsVector
.ResultsVectorWithThumbnail.getThumbnail()
Supplier for the optional thumbnailDisplayStack
.Methods in org.anchoranalysis.plugin.image.task.feature with parameters of type CheckedSupplierModifier and TypeMethodDescriptionvoid
FeatureResultsAndThumbnails.add
(CheckedSupplier<LabelledResultsVector, OperationFailedException> resultToAdd, CheckedSupplier<Optional<DisplayStack>, OperationFailedException> thumbnail) Adds results, together with a thumbnail.Constructors in org.anchoranalysis.plugin.image.task.feature with parameters of type CheckedSupplierModifierConstructorDescriptionCreates a new instance with a results vector and no thumbnail.ResultsVectorWithThumbnail
(CheckedSupplier<ResultsVector, OperationFailedException> resultsVector, CheckedSupplier<Optional<DisplayStack>, OperationFailedException> thumbnail) Creates a newResultsVectorWithThumbnail
instance. -
Uses of CheckedSupplier in org.anchoranalysis.plugin.image.task.slice
Methods in org.anchoranalysis.plugin.image.task.slice with parameters of type CheckedSupplierModifier and TypeMethodDescriptionvoid
MontageSharedState.copyStackInto
(CheckedSupplier<RGBStack, InputReadFailedException> source, String identifier, Path path, Optional<String> label) Copies aStack
into aBoundingBox
in the combined image, resizing if necessary. -
Uses of CheckedSupplier in org.anchoranalysis.plugin.points.calculate.ellipsoid
Methods in org.anchoranalysis.plugin.points.calculate.ellipsoid with parameters of type CheckedSupplierModifier and TypeMethodDescriptionstatic Ellipsoid
EllipsoidFactory.createMarkEllipsoidLeastSquares
(CheckedSupplier<List<Point3i>, CreateException> opPoints, Dimensions dimensions, boolean suppressZCovariance, double shell) Creates aEllipsoid
using least-squares fitting to a supplied list of points.