Class WriteConvertedCursor<A,B>
java.lang.Object
net.imglib2.converter.AbstractConvertedCursor<A,B>
net.imglib2.converter.readwrite.WriteConvertedCursor<A,B>
- All Implemented Interfaces:
Iterator<B>, Cursor<B>, EuclideanSpace, Iterator, Localizable, RealCursor<B>, RealLocalizable, Sampler<B>, Typed<B>
TODO
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Bprivate final SamplerConverter<? super A, B> private final Supplier<SamplerConverter<? super A, B>> Fields inherited from class AbstractConvertedCursor
source -
Constructor Summary
ConstructorsConstructorDescriptionWriteConvertedCursor(Cursor<A> source, Supplier<SamplerConverter<? super A, B>> converterSupplier) WriteConvertedCursor(Cursor<A> source, SamplerConverter<? super A, B> converter) -
Method Summary
Methods inherited from class AbstractConvertedCursor
fwd, getDoublePosition, getFloatPosition, getIntPosition, getLongPosition, hasNext, jumpFwd, localize, localize, localize, localize, numDimensions, remove, resetMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Cursor
copyCursorMethods inherited from interface Iterator
forEachRemainingMethods inherited from interface Localizable
localize, localize, positionAsLongArray, positionAsPointMethods inherited from interface RealCursor
nextMethods inherited from interface RealLocalizable
positionAsDoubleArray, positionAsRealPoint
-
Field Details
-
converterSupplier
-
converter
-
converted
-
-
Constructor Details
-
WriteConvertedCursor
-
WriteConvertedCursor
-
-
Method Details
-
get
-
getType
-
copy
- Specified by:
copyin interfaceCursor<A>- Specified by:
copyin interfaceRealCursor<A>- Specified by:
copyin interfaceSampler<A>- Specified by:
copyin classAbstractConvertedCursor<A,B> - Returns:
- - A new
Samplerin the same state accessing the same values. It does NOT copy T, just the state of theSampler. Otherwise use T.copy() if available. Sampler.copy().get() == Sampler.get(), i.e. both hold the same value, not necessarily the same instance (this is the case for anArrayCursorfor example)
-