Package org.epics.util.array
Interface IteratorShort
-
- All Superinterfaces:
IteratorNumber
public interface IteratorShort extends IteratorNumber
An iterator ofshort
s.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default byte
nextByte()
Returns the next element in the iteration casted to a byte.default double
nextDouble()
Returns the next element in the iteration casted to a double.default float
nextFloat()
Returns the next element in the iteration casted to a float.default int
nextInt()
Returns the next element in the iteration casted to an int.default long
nextLong()
Returns the next element in the iteration casted to a long.-
Methods inherited from interface org.epics.util.array.IteratorNumber
hasNext, nextShort
-
-
-
-
Method Detail
-
nextFloat
default 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
default 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
default 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
default 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
default 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
-
-