Package ucar.ma2
Class Index0D
- java.lang.Object
-
- ucar.ma2.Index
-
- ucar.ma2.Index0D
-
-
Constructor Summary
Constructors Constructor Description Index0D(int[] shape)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectclone()intcurrentElement()Get the current element's index into the 1D backing array.intincr()Increment the current element by 1.Indexset()
-
-
-
Method Detail
-
currentElement
public int currentElement()
Description copied from class:IndexGet the current element's index into the 1D backing array. VLEN stops processing.- Overrides:
currentElementin classIndex- Returns:
- the current element's index into the 1D backing array.
-
incr
public int incr()
Description copied from class:IndexIncrement the current element by 1. Used by IndexIterator. General rank, with subclass specialization. Vlen skipped.
-
set
public Index set()
-
-