Package dap4.core.util
Class ScalarOdometer
- java.lang.Object
-
- dap4.core.util.Odometer
-
- dap4.core.util.ScalarOdometer
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class dap4.core.util.Odometer
Odometer.STATE
-
-
Constructor Summary
Constructors Constructor Description ScalarOdometer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanhasNext()longindex()Compute the linear index from the current odometer indices.Indexnext()voidremove()longtotalSize()Compute the total number of elements.-
Methods inherited from class dap4.core.util.Odometer
factory, factory, factoryScalar, getSlices, getSubOdometers, indices, isMulti, rank, reset, slice, step, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Iterator
forEachRemaining
-
-
-
-
Method Detail
-
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 Index next()
-
-