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 Object
clone()
int
currentElement()
Get the current element's index into the 1D backing array.int
incr()
Increment the current element by 1.Index
set()
-
-
-
Method Detail
-
currentElement
public int currentElement()
Description copied from class:Index
Get the current element's index into the 1D backing array. VLEN stops processing.- Overrides:
currentElement
in classIndex
- Returns:
- the current element's index into the 1D backing array.
-
incr
public int incr()
Description copied from class:Index
Increment the current element by 1. Used by IndexIterator. General rank, with subclass specialization. Vlen skipped.
-
set
public Index set()
-
-