Package ucar.ma2
Class Section.Iterator
java.lang.Object
ucar.ma2.Section.Iterator
- Enclosing class:
- Section
-
Method Summary
-
Method Details
-
hasNext
public boolean hasNext()Return true if there are more elements- Returns:
- true if there are more elements
-
next
public int next(int[] index) Get the position in the equivalant 1D array of shape[]- Parameters:
index- if not null, return the current nD index- Returns:
- the current position in a 1D array
-