Package ucar.ma2

Class SectionIterable.SectionIterator

java.lang.Object
ucar.ma2.SectionIterable.SectionIterator
All Implemented Interfaces:
Iterator<Integer>
Enclosing class:
SectionIterable

public class SectionIterable.SectionIterator extends Object implements Iterator<Integer>
  • Method Details

    • hasNext

      public boolean hasNext()
      Specified by:
      hasNext in interface Iterator<Integer>
    • next

      public Integer next()
      Specified by:
      next in interface Iterator<Integer>
    • 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