public abstract class IteratorShort extends Object implements IteratorNumber
shorts.| Constructor and Description |
|---|
IteratorShort() |
| Modifier and Type | Method and Description |
|---|---|
byte |
nextByte()
Returns the next element in the iteration casted to a byte.
|
double |
nextDouble()
Returns the next element in the iteration casted to a double.
|
float |
nextFloat()
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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithasNext, nextShortpublic float nextFloat()
IteratorNumbernextFloat in interface IteratorNumberpublic double nextDouble()
IteratorNumbernextDouble in interface IteratorNumberpublic byte nextByte()
IteratorNumbernextByte in interface IteratorNumberpublic int nextInt()
IteratorNumbernextInt in interface IteratorNumberpublic long nextLong()
IteratorNumbernextLong in interface IteratorNumberCopyright © 2015. All rights reserved.