org.eclipse.january.dataset

## Class NullIterator

- java.lang.Object
- - org.eclipse.january.dataset.IndexIterator
  - - org.eclipse.january.dataset.SliceIterator
    - - org.eclipse.january.dataset.NullIterator

-     public class NullIterator
      extends SliceIterator

- - ### Field Summary

    - ### Fields inherited from class org.eclipse.january.dataset.IndexIterator

      `index`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `NullIterator(int[] shape, int[] sshape)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `int[]` | `getPos()`
    `boolean` | `hasNext()`
    `void` | `reset()` Reset iterator

    - ### Methods inherited from class org.eclipse.january.dataset.SliceIterator

      `getShape, getStart, getStep, setStart`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### NullIterator

          public NullIterator(int[] shape,
                      int[] sshape)

      Parameters:
        `shape` - shape of dataset
        `sshape` - shape of slice

  - ### Method Detail

    - #### hasNext

          public boolean hasNext()

      Overrides:
        `hasNext` in class `SliceIterator`
      Returns:
        true if there is another iteration

    - #### getPos

          public int[] getPos()

      Overrides:
        `getPos` in class `SliceIterator`
      Returns:
        position indices (nb this is reference not a copy so avoid changing and can be null)

    - #### reset

          public void reset()

      Description copied from class: `IndexIterator`
      Reset iterator
      Overrides:
        `reset` in class `SliceIterator`

Copyright © 2017. All rights reserved.