Package dap4.servlet

Class ScalarOdometer

  • All Implemented Interfaces:
    Iterator<ucar.ma2.Index>

    public class ScalarOdometer
    extends Odometer
    A implementation of an odometer for scalar variables.
    • Constructor Detail

      • ScalarOdometer

        public ScalarOdometer()
    • Method Detail

      • index

        public long index()
        Description copied from class: Odometer
        Compute the linear index from the current odometer indices.
        Overrides:
        index in class Odometer
      • totalSize

        public long totalSize()
        Description copied from class: Odometer
        Compute the total number of elements.
        Overrides:
        totalSize in class Odometer
      • next

        public dap4.dap4lib.D4Index next()
        Specified by:
        next in interface Iterator<ucar.ma2.Index>
        Overrides:
        next in class Odometer