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