Package org.yamcs.studio.data.vtype
Class IteratorShort
java.lang.Object
org.yamcs.studio.data.vtype.IteratorShort
- All Implemented Interfaces:
IteratorNumber
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbyte
nextByte()
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.int
nextInt()
Returns the next element in the iteration casted to an int.long
nextLong()
Returns the next element in the iteration casted to a long.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, nextShort
-
Constructor Details
-
IteratorShort
public IteratorShort()
-
-
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 interfaceIteratorNumber
- 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 interfaceIteratorNumber
- 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 interfaceIteratorNumber
- Returns:
- the next element in the iteration
-
nextInt
public int nextInt()Description copied from interface:IteratorNumber
Returns the next element in the iteration casted to an int.- Specified by:
nextInt
in interfaceIteratorNumber
- 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 interfaceIteratorNumber
- Returns:
- the next element in the iteration
-