public abstract class IteratorShort extends Object implements IteratorNumber
short
s.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, wait
hasNext, nextShort
public float nextFloat()
IteratorNumber
nextFloat
in interface IteratorNumber
public double nextDouble()
IteratorNumber
nextDouble
in interface IteratorNumber
public byte nextByte()
IteratorNumber
nextByte
in interface IteratorNumber
public int nextInt()
IteratorNumber
nextInt
in interface IteratorNumber
public long nextLong()
IteratorNumber
nextLong
in interface IteratorNumber
Copyright © 2015. All rights reserved.