public class ConvertedIterableInterval<A,B> extends AbstractConvertedIterableInterval<A,B>
| Modifier and Type | Field and Description |
|---|---|
protected Supplier<? extends B> |
convertedSupplier |
protected Supplier<Converter<? super A,? super B>> |
converterSupplier |
sourceInterval| Constructor and Description |
|---|
ConvertedIterableInterval(IterableInterval<A> source,
Converter<? super A,? super B> converter,
Supplier<? extends B> convertedSupplier) |
ConvertedIterableInterval(IterableInterval<A> source,
Supplier<Converter<? super A,? super B>> converterSupplier,
Supplier<? extends B> convertedSupplier) |
| Modifier and Type | Method and Description |
|---|---|
ConvertedCursor<A,B> |
cursor()
Returns a
RealCursor that iterates with optimal speed without
calculating the location at each iteration step. |
Converter<? super A,? super B> |
getConverter()
Deprecated.
Use
getConverterSupplier() instead |
Supplier<Converter<? super A,? super B>> |
getConverterSupplier() |
Supplier<? extends B> |
getDestinationSupplier() |
B |
getDestinationType()
Deprecated.
Use
getDestinationSupplier() instead. |
B |
getType()
Get an instance of
T. |
ConvertedCursor<A,B> |
localizingCursor()
Returns a
RealLocalizable Iterator that calculates its
location at each iteration step. |
iterationOrder, sizedimension, dimensions, max, max, max, min, min, mingetSource, numDimensions, realMax, realMax, realMax, realMin, realMin, realMinclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitlocalizingSpliterator, spliteratorfirstElement, iterator, parallelStream, streamdimension, max, max, max, maxAsLongArray, maxAsPoint, min, min, min, minAsLongArray, minAsPoint, realMax, realMinmaxAsDoubleArray, maxAsRealPoint, minAsDoubleArray, minAsRealPoint, realMax, realMax, realMin, realMinallPositive, allPositive, dimensions, dimensions, dimensionsAsLongArray, dimensionsAsPoint, verify, verify, verifyAllPositive, verifyAllPositivenumDimensionspublic ConvertedIterableInterval(IterableInterval<A> source, Supplier<Converter<? super A,? super B>> converterSupplier, Supplier<? extends B> convertedSupplier)
source - converterSupplier - convertedSupplier - public ConvertedCursor<A,B> cursor()
IterableRealInterval
Returns a RealCursor that iterates with optimal speed without
calculating the location at each iteration step. Localization is
performed on demand.
Use this where localization is required rarely/ not for each iteration.
public ConvertedCursor<A,B> localizingCursor()
IterableRealInterval
Returns a RealLocalizable Iterator that calculates its
location at each iteration step. That is, localization is performed with
optimal speed.
Use this where localization is required often/ for each iteration.
@Deprecated public B getDestinationType()
getDestinationSupplier() instead.Type.public Supplier<? extends B> getDestinationSupplier()
public B getType()
IterableRealIntervalT.
It should not be assumed that the returned T instance is an
independent copy. In particular, repeated calls to getType() may
return the same instance.
The default implementation returns IterableRealInterval.firstElement(). Derived classes
may choose different implementations for improved performance.
T@Deprecated public Converter<? super A,? super B> getConverter()
getConverterSupplier() insteadConverter. If the
ConvertedIterableInterval was created with a Converter
instead of a Supplier, then the returned converter will be this
instance.Copyright © 2009–2025 ImgLib2. All rights reserved.