public boolean hasNext() { return chunker.hasNext(); }
public boolean hasNext() { return chunker.hasNext(); }
public boolean hasNext() { return chunker.hasNext(); }
@Test public void testFull() throws InvalidRangeException { int[] shape = new int[] {123,22,92,12}; Section section = new Section(shape); IndexChunker index = new IndexChunker(shape, section); assert index.getTotalNelems() == section.computeSize(); IndexChunker.Chunk chunk = index.next(); assert chunk.getNelems() == section.computeSize(); assert !index.hasNext(); }