it.unimi.dsi.fastutil.floats
Class FloatIterators.UnmodifiableIterator
java.lang.Object
it.unimi.dsi.fastutil.floats.AbstractFloatIterator
it.unimi.dsi.fastutil.floats.FloatIterators.UnmodifiableIterator
- All Implemented Interfaces:
- FloatIterator, Iterator<Float>
- Enclosing class:
- FloatIterators
public static class FloatIterators.UnmodifiableIterator
- extends AbstractFloatIterator
An unmodifiable wrapper class for iterators.
Method Summary |
boolean |
hasNext()
|
Float |
next()
Delegates to the corresponding type-specific method. |
float |
nextFloat()
Delegates to the corresponding generic method. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
i
protected final FloatIterator i
FloatIterators.UnmodifiableIterator
public FloatIterators.UnmodifiableIterator(FloatIterator i)
hasNext
public boolean hasNext()
nextFloat
public float nextFloat()
- Description copied from class:
AbstractFloatIterator
- Delegates to the corresponding generic method.
- Specified by:
nextFloat
in interface FloatIterator
- Overrides:
nextFloat
in class AbstractFloatIterator
- Returns:
- the next element in the iteration.
- See Also:
Iterator.next()
next
public Float next()
- Description copied from class:
AbstractFloatIterator
- Delegates to the corresponding type-specific method.
- Specified by:
next
in interface Iterator<Float>
- Overrides:
next
in class AbstractFloatIterator
Copyright © 2011. All Rights Reserved.