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 CharIterator
charIterator
-
Constructor Summary
Constructors Constructor Description UnmodifiableCharIterator(CharIterator charIterator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasNext()
char
next()
void
remove()
-
-
-
Field Detail
-
charIterator
private final CharIterator charIterator
-
-
Constructor Detail
-
UnmodifiableCharIterator
public UnmodifiableCharIterator(CharIterator charIterator)
-
-
Method Detail
-
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interfaceCharIterator
-
next
public char next()
- Specified by:
next
in interfaceCharIterator
-
remove
public void remove()
- Specified by:
remove
in interfaceMutableCharIterator
-
-