it.unimi.dsi.fastutil.chars
Class CharIterators.UnmodifiableIterator
java.lang.Object
it.unimi.dsi.fastutil.chars.AbstractCharIterator
it.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.
|
Method Summary |
boolean |
hasNext()
|
Object |
next()
Delegates to the corresponding type-specific method. |
char |
nextChar()
Delegates to the corresponding generic method. |
CharIterators.UnmodifiableIterator
public CharIterators.UnmodifiableIterator(CharIterator i)
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