it.unimi.dsi.fastutil.chars
Class CharIterators.UnmodifiableIterator

java.lang.Object
  extended byit.unimi.dsi.fastutil.chars.AbstractCharIterator
      extended byit.unimi.dsi.fastutil.chars.CharIterators.UnmodifiableIterator
All Implemented Interfaces:
CharIterator, Iterator
Enclosing class:
CharIterators

public static class CharIterators.UnmodifiableIterator
extends AbstractCharIterator

An unmodifiable wrapper class for iterators.


Constructor Summary
CharIterators.UnmodifiableIterator(CharIterator i)
           
 
Method Summary
 boolean hasNext()
           
 Object next()
          Delegates to the corresponding type-specific method.
 char nextChar()
          Delegates to the corresponding generic method.
 
Methods inherited from class it.unimi.dsi.fastutil.chars.AbstractCharIterator
remove, skip
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CharIterators.UnmodifiableIterator

public CharIterators.UnmodifiableIterator(CharIterator i)
Method Detail

hasNext

public boolean hasNext()

nextChar

public char nextChar()
Description copied from class: AbstractCharIterator
Delegates to the corresponding generic method.

Specified by:
nextChar in interface CharIterator
Overrides:
nextChar in class AbstractCharIterator

next

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

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