public class Section.Iterator
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
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 index