public abstract class IteratorInt extends Object implements IteratorNumber
int
s.Constructor and Description |
---|
IteratorInt() |
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.
|
long |
nextLong()
Returns the next element in the iteration casted to a long.
|
short |
nextShort()
Returns the next element in the iteration casted to a short.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
hasNext, nextInt
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 short nextShort()
IteratorNumber
nextShort
in interface IteratorNumber
public long nextLong()
IteratorNumber
nextLong
in interface IteratorNumber
Copyright © 2015. All rights reserved.