public class SectionIterable.SectionIterator
extends java.lang.Object
implements java.util.Iterator<java.lang.Integer>
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
java.lang.Integer |
next() |
int |
next(int[] index)
Get the position in the equivalant 1D array of shape[]
|
public boolean hasNext()
hasNext in interface java.util.Iterator<java.lang.Integer>public java.lang.Integer next()
next in interface java.util.Iterator<java.lang.Integer>public int next(int[] index)
index - if not null, return the current nD index