Package dap4.servlet
Class MultiOdometer
java.lang.Object
dap4.servlet.Odometer
dap4.servlet.MultiOdometer
- All Implemented Interfaces:
Iterator<ucar.ma2.Index>
An odometer capable of dealing with a Multi-slices.
-
Nested Class Summary
Nested classes/interfaces inherited from class dap4.servlet.Odometer
Odometer.STATE -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected intprotected static booleanprotected long[] -
Constructor Summary
ConstructorsConstructorDescriptionMultiOdometer(List<dap4.core.util.Slice> set) MultiOdometer(List<dap4.core.util.Slice> set, List<dap4.core.dmr.DapDimension> dimset) -
Method Summary
Methods inherited from class dap4.servlet.Odometer
getSlices, index, indices, isScalar, rank, reset, slice, stepMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Iterator
forEachRemaining
-
Field Details
-
DEBUG
protected static boolean DEBUG -
current
protected int current -
sizes
protected long[] sizes -
slicesets
-
odomset
-
-
Constructor Details
-
Method Details
-
toString
-
hasNext
public boolean hasNext() -
next
public dap4.dap4lib.D4Index next() -
remove
public void remove() -
totalSize
public long totalSize()Compute the total number of elements. -
getSubOdometers
- Overrides:
getSubOdometersin classOdometer
-
isMulti
public boolean isMulti()
-