it.unimi.dsi.fastutil.ints
Class IntIterators.UnmodifiableIterator

java.lang.Object
  extended byit.unimi.dsi.fastutil.ints.AbstractIntIterator
      extended byit.unimi.dsi.fastutil.ints.IntIterators.UnmodifiableIterator
All Implemented Interfaces:
IntIterator, Iterator
Enclosing class:
IntIterators

public static class IntIterators.UnmodifiableIterator
extends AbstractIntIterator

An unmodifiable wrapper class for iterators.


Constructor Summary
IntIterators.UnmodifiableIterator(IntIterator i)
           
 
Method Summary
 boolean hasNext()
           
 Object next()
          Delegates to the corresponding type-specific method.
 int nextInt()
          Delegates to the corresponding generic method.
 
Methods inherited from class it.unimi.dsi.fastutil.ints.AbstractIntIterator
remove, skip
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IntIterators.UnmodifiableIterator

public IntIterators.UnmodifiableIterator(IntIterator i)
Method Detail

hasNext

public boolean hasNext()

nextInt

public int nextInt()
Description copied from class: AbstractIntIterator
Delegates to the corresponding generic method.

Specified by:
nextInt in interface IntIterator
Overrides:
nextInt in class AbstractIntIterator

next

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

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