public class BiConvertedIterableInterval<A,B,C> extends AbstractConvertedIterableInterval<A,C>
| Modifier and Type | Field and Description |
|---|---|
protected Supplier<? extends C> |
convertedSupplier |
protected Supplier<BiConverter<? super A,? super B,? super C>> |
converterSupplier |
protected IterableInterval<B> |
sourceIntervalB |
sourceInterval| Constructor and Description |
|---|
BiConvertedIterableInterval(IterableInterval<A> sourceA,
IterableInterval<B> sourceB,
BiConverter<? super A,? super B,? super C> converter,
Supplier<? extends C> convertedSupplier)
Creates a copy of c for conversion.
|
BiConvertedIterableInterval(IterableInterval<A> sourceA,
IterableInterval<B> sourceB,
Supplier<BiConverter<? super A,? super B,? super C>> converterSupplier,
Supplier<? extends C> convertedSupplier)
Creates a copy of c for conversion.
|
| Modifier and Type | Method and Description |
|---|---|
BiConvertedCursor<A,B,C> |
cursor()
Returns a
RealCursor that iterates with optimal speed without
calculating the location at each iteration step. |
BiConverter<? super A,? super B,? super C> |
getConverter()
Deprecated.
Use
getConverterSupplier() instead |
Supplier<BiConverter<? super A,? super B,? super C>> |
getConverterSupplier() |
Supplier<? extends C> |
getDestinationSupplier() |
C |
getDestinationType()
Deprecated.
Use
getDestinationSupplier() instead. |
C |
getType()
Get an instance of
T. |
BiConvertedCursor<A,B,C> |
localizingCursor()
Creates a localizing
Cursor for sourceA only because this will
be used for localization. |
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, verifyAllPositivenumDimensionsprotected final IterableInterval<B> sourceIntervalB
protected final Supplier<BiConverter<? super A,? super B,? super C>> converterSupplier
public BiConvertedIterableInterval(IterableInterval<A> sourceA, IterableInterval<B> sourceB, Supplier<BiConverter<? super A,? super B,? super C>> converterSupplier, Supplier<? extends C> convertedSupplier)
sourceA - this IterableInterval is used for all
Interval related requests. When using
Intervals with different sizes, make sure
that this is the smaller Interval.sourceB - converterSupplier - convertedSupplier - public BiConvertedIterableInterval(IterableInterval<A> sourceA, IterableInterval<B> sourceB, BiConverter<? super A,? super B,? super C> converter, Supplier<? extends C> convertedSupplier)
sourceA - this IterableInterval is used for all
Interval related requests. When using
Intervals with different sizes, make sure
that this is the smaller Interval.sourceB - converter - convertedSupplier - public BiConvertedCursor<A,B,C> 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 BiConvertedCursor<A,B,C> localizingCursor()
Cursor for sourceA only because this will
be used for localization. Make sure that sourceA is the
IterableInterval that creates the Cursor that localizes
more efficiently.@Deprecated public C getDestinationType()
getDestinationSupplier() instead.Type.public Supplier<? extends C> getDestinationSupplier()
public C 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 BiConverter<? super A,? super B,? super C> getConverter()
getConverterSupplier() insteadBiConverter. If the
BiConvertedIterableInterval was created with a BiConverter
instead of a Supplier, then the returned converter will be this
instance.public Supplier<BiConverter<? super A,? super B,? super C>> getConverterSupplier()
Copyright © 2009–2025 ImgLib2. All rights reserved.