Class IteratorInt

java.lang.Object
org.yamcs.studio.data.vtype.IteratorInt
All Implemented Interfaces:
IteratorNumber

public abstract class IteratorInt extends Object implements IteratorNumber
An iterator of ints.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    byte
    Returns the next element in the iteration casted to a byte.
    double
    Returns the next element in the iteration casted to a double.
    float
    Returns the next element in the iteration casted to a float.
    long
    Returns the next element in the iteration casted to a long.
    short
    Returns the next element in the iteration casted to a short.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.yamcs.studio.data.vtype.IteratorNumber

    hasNext, nextInt
  • Constructor Details

    • IteratorInt

      public IteratorInt()
  • Method Details

    • nextFloat

      public float nextFloat()
      Description copied from interface: IteratorNumber
      Returns the next element in the iteration casted to a float.
      Specified by:
      nextFloat in interface IteratorNumber
      Returns:
      the next element in the iteration
    • nextDouble

      public double nextDouble()
      Description copied from interface: IteratorNumber
      Returns the next element in the iteration casted to a double.
      Specified by:
      nextDouble in interface IteratorNumber
      Returns:
      the next element in the iteration
    • nextByte

      public byte nextByte()
      Description copied from interface: IteratorNumber
      Returns the next element in the iteration casted to a byte.
      Specified by:
      nextByte in interface IteratorNumber
      Returns:
      the next element in the iteration
    • nextShort

      public short nextShort()
      Description copied from interface: IteratorNumber
      Returns the next element in the iteration casted to a short.
      Specified by:
      nextShort in interface IteratorNumber
      Returns:
      the next element in the iteration
    • nextLong

      public long nextLong()
      Description copied from interface: IteratorNumber
      Returns the next element in the iteration casted to a long.
      Specified by:
      nextLong in interface IteratorNumber
      Returns:
      the next element in the iteration