Odometer.STATE| Modifier and Type | Field and Description |
|---|---|
protected Slice[] |
cache |
protected int |
current |
protected static boolean |
DEBUG |
protected long[][] |
setindices |
protected long[] |
sizes |
contiguousdelta, dimset, endpoint, indices, rank, slices, state, usecontiguous| Constructor and Description |
|---|
MultiOdometer() |
MultiOdometer(List<Slice> set,
List<DapDimension> dimset,
boolean usecontiguous) |
| Modifier and Type | Method and Description |
|---|---|
List<Slice> |
getContiguous() |
boolean |
hasNext() |
boolean |
isContiguous() |
protected void |
moveToNextSet() |
Long |
next() |
void |
remove() |
String |
toString() |
long |
totalSize()
Compute the total number of elements.
|
factory, getIndices, index, resetprotected static boolean DEBUG
protected Slice[] cache
protected int current
protected long[][] setindices
protected long[] sizes
public MultiOdometer()
public MultiOdometer(List<Slice> set, List<DapDimension> dimset, boolean usecontiguous) throws DapException
DapExceptionpublic boolean hasNext()
public Long next()
protected void moveToNextSet()
public void remove()
public long totalSize()
public boolean isContiguous()
isContiguous in class Odometerpublic List<Slice> getContiguous()
getContiguous in class OdometerCopyright © 1999–2014 UCAR/Unidata. All rights reserved.