public class ConvertedIterableInterval<A,B extends Type<B>> extends AbstractConvertedIterableInterval<A,B>
| Modifier and Type | Field and Description |
|---|---|
protected B |
converted |
protected Supplier<Converter<? super A,? super B>> |
converterSupplier |
sourceInterval| Constructor and Description |
|---|
ConvertedIterableInterval(IterableInterval<A> source,
Converter<? super A,? super B> converter,
B b)
Creates a copy of b for conversion.
|
ConvertedIterableInterval(IterableInterval<A> source,
Supplier<Converter<? super A,? super B>> converterSupplier,
B b)
Creates a copy of b for conversion.
|
| 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()
Returns an instance of the
Converter. |
B |
getDestinationType() |
ConvertedCursor<A,B> |
localizingCursor()
Returns a
RealLocalizable Iterator that calculates its
location at each iteration step. |
firstElement, iterationOrder, iterator, sizedimension, dimensions, max, max, max, min, min, mingetSource, numDimensions, realMax, realMax, realMax, realMin, realMin, realMinclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratordimension, 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, verifyAllPositivenumDimensionsprotected final Supplier<Converter<? super A,? super B extends Type<B>>> converterSupplier
public ConvertedIterableInterval(IterableInterval<A> source, Supplier<Converter<? super A,? super B>> converterSupplier, B b)
source - converterSupplier - b - 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.
localizingCursor in interface IterableInterval<B extends Type<B>>localizingCursor in interface IterableRealInterval<B extends Type<B>>localizingCursor in class AbstractConvertedIterableInterval<A,B extends Type<B>>Copyright © 2015–2022 ImgLib2. All rights reserved.