Odometer.STATE| Modifier and Type | Field and Description |
|---|---|
protected static Long |
ZERO |
contiguousdelta, dimset, endpoint, indices, rank, slices, state, usecontiguous| Constructor and Description |
|---|
ScalarOdometer() |
| Modifier and Type | Method and Description |
|---|---|
long[] |
getIndices()
Get the current set of indices
|
boolean |
hasNext() |
long |
index()
Compute the linear index
from the current odometer indices.
|
Long |
next() |
void |
remove() |
long |
totalSize()
Compute the total number of elements.
|
factory, getContiguous, isContiguous, reset, toStringprotected static Long ZERO
public long index()
Odometerpublic long totalSize()
Odometerpublic long[] getIndices()
OdometergetIndices in class Odometerpublic boolean hasNext()
public Long next()
Copyright © 1999–2014 UCAR/Unidata. All rights reserved.