Class UnmodifiableCharIterator
- java.lang.Object
-
- org.eclipse.collections.impl.iterator.UnmodifiableCharIterator
-
- All Implemented Interfaces:
CharIterator,MutableCharIterator
public class UnmodifiableCharIterator extends java.lang.Object implements MutableCharIterator
UnmodifiableCharIterator is a wrapper around CharIterator which is unmodifiable and doesn't support remove. This file was automatically generated from template file unmodifiablePrimitiveIterator.stg.
-
-
Field Summary
Fields Modifier and Type Field Description private CharIteratorcharIterator
-
Constructor Summary
Constructors Constructor Description UnmodifiableCharIterator(CharIterator charIterator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanhasNext()charnext()voidremove()
-
-
-
Field Detail
-
charIterator
private final CharIterator charIterator
-
-
Constructor Detail
-
UnmodifiableCharIterator
public UnmodifiableCharIterator(CharIterator charIterator)
-
-
Method Detail
-
hasNext
public boolean hasNext()
- Specified by:
hasNextin interfaceCharIterator
-
next
public char next()
- Specified by:
nextin interfaceCharIterator
-
remove
public void remove()
- Specified by:
removein interfaceMutableCharIterator
-
-