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
Features 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 TypeClassDescriptionclassCachedSupplier<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 bysuppliervia 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 aOptionaland can chain many alternatives.OptionalUtilities.orFlatSupplier(CheckedSupplier<Optional<T>, E>... optional) LikeOptionalUtilities.orFlatSupplier(Iterable)but allowsOptionals 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 anoperationwhile 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 doubleOutlineKernelBase.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 doubleNumberVoxelsAtBorder.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 doubleNumberNeighboringVoxels.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 TypeMethodDescriptionvoidFeatureResultsAndThumbnails.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 newResultsVectorWithThumbnailinstance. -
Uses of CheckedSupplier in org.anchoranalysis.plugin.image.task.slice
Methods in org.anchoranalysis.plugin.image.task.slice with parameters of type CheckedSupplierModifier and TypeMethodDescriptionvoidMontageSharedState.copyStackInto(CheckedSupplier<RGBStack, InputReadFailedException> source, String identifier, Path path, Optional<String> label) Copies aStackinto aBoundingBoxin 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 EllipsoidEllipsoidFactory.createMarkEllipsoidLeastSquares(CheckedSupplier<List<Point3i>, CreateException> opPoints, Dimensions dimensions, boolean suppressZCovariance, double shell) Creates aEllipsoidusing least-squares fitting to a supplied list of points.