Package ucar.ma2
Class IndexConstant
- java.lang.Object
-
- ucar.ma2.Index
-
- ucar.ma2.IndexConstant
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
IndexConstant(int rank)
protected
IndexConstant(int[] shape)
protected
IndexConstant(int[] shape, int[] stride)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
currentElement()
always return 0
-
-
-
Method Detail
-
currentElement
public int currentElement()
always return 0- Overrides:
currentElement
in classIndex
- Returns:
- the current element's index into the 1D backing array.
-
-