Class UnmodifiableIntIterator
- java.lang.Object
-
- org.eclipse.collections.impl.iterator.UnmodifiableIntIterator
-
- All Implemented Interfaces:
IntIterator
,MutableIntIterator
public class UnmodifiableIntIterator extends java.lang.Object implements MutableIntIterator
UnmodifiableIntIterator is a wrapper around IntIterator 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 IntIterator
intIterator
-
Constructor Summary
Constructors Constructor Description UnmodifiableIntIterator(IntIterator intIterator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasNext()
int
next()
void
remove()
-
-
-
Field Detail
-
intIterator
private final IntIterator intIterator
-
-
Constructor Detail
-
UnmodifiableIntIterator
public UnmodifiableIntIterator(IntIterator intIterator)
-
-
Method Detail
-
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interfaceIntIterator
-
next
public int next()
- Specified by:
next
in interfaceIntIterator
-
remove
public void remove()
- Specified by:
remove
in interfaceMutableIntIterator
-
-