Package dap4.servlet
Class ScalarOdometer
java.lang.Object
dap4.servlet.Odometer
dap4.servlet.ScalarOdometer
- All Implemented Interfaces:
Iterator<ucar.ma2.Index>
A implementation of an odometer for scalar variables.
-
Nested Class Summary
Nested classes/interfaces inherited from class dap4.servlet.Odometer
Odometer.STATE -
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class dap4.servlet.Odometer
getSlices, getSubOdometers, indices, isMulti, rank, reset, slice, step, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Iterator
forEachRemaining
-
Constructor Details
-
ScalarOdometer
public ScalarOdometer()
-
-
Method Details
-
index
public long index()Description copied from class:OdometerCompute the linear index from the current odometer indices. -
totalSize
public long totalSize()Description copied from class:OdometerCompute the total number of elements. -
hasNext
public boolean hasNext() -
next
public dap4.dap4lib.D4Index next() -
remove
public void remove() -
isScalar
public boolean isScalar()
-