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, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEachRemaining
protected static Long ZERO
public long index()
Odometer
public long totalSize()
Odometer
public long[] getIndices()
Odometer
getIndices
in class Odometer
public boolean hasNext()
public Long next()
Copyright © 1999–2018 UCAR/Unidata. All rights reserved.