Class 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 a thread.chunker Op that interleaves the chunks. In a element enumeration from 1..n with k Chunks 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.'