it.unimi.dsi.fastutil.floats
Class FloatIterators.UnmodifiableIterator

java.lang.Object
  extended byit.unimi.dsi.fastutil.floats.AbstractFloatIterator
      extended byit.unimi.dsi.fastutil.floats.FloatIterators.UnmodifiableIterator
All Implemented Interfaces:
FloatIterator, Iterator
Enclosing class:
FloatIterators

public static class FloatIterators.UnmodifiableIterator
extends AbstractFloatIterator

An unmodifiable wrapper class for iterators.


Constructor Summary
FloatIterators.UnmodifiableIterator(FloatIterator i)
           
 
Method Summary
 boolean hasNext()
           
 Object next()
          Delegates to the corresponding type-specific method.
 float nextFloat()
          Delegates to the corresponding generic method.
 
Methods inherited from class it.unimi.dsi.fastutil.floats.AbstractFloatIterator
remove, skip
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FloatIterators.UnmodifiableIterator

public FloatIterators.UnmodifiableIterator(FloatIterator i)
Method Detail

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

next

public Object next()
Description copied from class: AbstractFloatIterator
Delegates to the corresponding type-specific method.

Specified by:
next in interface Iterator
Overrides:
next in class AbstractFloatIterator