|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectucar.ma2.Index
ucar.ma2.Index0D
public class Index0D
Specialization of Index for rank 0 arrays, ie scalars.
Index| Field Summary |
|---|
| Fields inherited from class ucar.ma2.Index |
|---|
scalarIndexImmutable |
| Constructor Summary | |
|---|---|
Index0D(int[] shape)
|
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
|
int |
currentElement()
Get the current element's index into the 1D backing array. |
int |
incr()
Increment the current element by 1. |
| Methods inherited from class ucar.ma2.Index |
|---|
computeSize, factory, getCurrentCounter, getRank, getShape, getShape, getSize, set, set, set, set, set, set, set, set, set0, set1, set2, set3, set4, set5, set6, setCurrentCounter, setDim, toString, toStringDebug |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Index0D(int[] shape)
| Method Detail |
|---|
public int currentElement()
Index
currentElement in class Indexpublic int incr()
Index
incr in class Indexpublic java.lang.Object clone()
clone in class Index
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||