- java.lang.Object
-
- org.scijava.ops.image.thread.chunker.ChunkerInterleaved
-
- All Implemented Interfaces:
BiConsumer<Chunk,Long>,Inplaces.Arity2<Chunk,Long>,Inplaces.Arity2_1<Chunk,Long>
public class ChunkerInterleaved extends Object implements Inplaces.Arity2_1<Chunk,Long>
Implementation of athread.chunkerOp that interleaves the chunks. In a element enumeration from 1..n with kChunks the first one will process the elements 1, k+1, 2k+1, ... the second chunk executable 2, k+2, 2k+2 and so on.- Author:
- Michael Zinsmaier (University of Konstanz)
- Implementation Note:
- op names='thread.chunker', priority='-10000.'
-
-
Constructor Summary
Constructors Constructor Description ChunkerInterleaved()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidmutate(Chunk chunk, Long numberOfElements)TODO-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.function.BiConsumer
andThen
-
Methods inherited from interface org.scijava.function.Inplaces.Arity2
accept
-
-
-
-
Method Detail
-
mutate
public void mutate(Chunk chunk, Long numberOfElements)
TODO- Specified by:
mutatein interfaceInplaces.Arity2<Chunk,Long>- Specified by:
mutatein interfaceInplaces.Arity2_1<Chunk,Long>- Parameters:
chunk-numberOfElements-
-
-