public class Section.Iterator
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
int |
getResultIndex()
Get the current index in the result array, ie in this section
|
boolean |
hasNext()
Return true if there are more elements
|
int |
next(int[] index)
Get the position in the equivalant 1D array of shape[]
|
public boolean hasNext()
public int next(int[] index)
index
- if not null, return the current nD indexpublic int getResultIndex()