public final class UnmodifiableFloatIterator extends Object
Modifier and Type | Method and Description |
---|---|
protected FloatIterator |
getIterator() |
boolean |
hasNext()
Returns
true iff I have more elements. |
float |
next()
Returns the next element in me.
|
void |
remove()
Removes from my underlying collection the last
element
returned by me
(optional operation). |
static FloatIterator |
wrap(FloatIterator iterator) |
public void remove()
FloatIterator
returned
by me
(optional operation).protected FloatIterator getIterator()
public static final FloatIterator wrap(FloatIterator iterator)
public boolean hasNext()
FloatIterator
true
iff I have more elements.
(In other words, returns true
iff
a subsequent call to next
will return
an element rather than throwing an exception.)hasNext
in interface FloatIterator
true
iff I have more elementspublic float next()
FloatIterator
next
in interface FloatIterator
Copyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.