Package org.yamcs.studio.data.vtype
Class IteratorByte
java.lang.Object
org.yamcs.studio.data.vtype.IteratorByte
- All Implemented Interfaces:
IteratorNumber
An iterator of
byte
s.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondouble
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.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, nextByte
-
Constructor Details
-
IteratorByte
public IteratorByte()
-
-
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
-
nextShort
public short nextShort()Description copied from interface:IteratorNumber
Returns the next element in the iteration casted to a short.- Specified by:
nextShort
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
-