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 LongIteratorlongIterator
-
Constructor Summary
Constructors Constructor Description UnmodifiableLongIterator(LongIterator longIterator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanhasNext()longnext()voidremove()
-
-
-
Field Detail
-
longIterator
private final LongIterator longIterator
-
-
Constructor Detail
-
UnmodifiableLongIterator
public UnmodifiableLongIterator(LongIterator longIterator)
-
-
Method Detail
-
hasNext
public boolean hasNext()
- Specified by:
hasNextin interfaceLongIterator
-
next
public long next()
- Specified by:
nextin interfaceLongIterator
-
remove
public void remove()
- Specified by:
removein interfaceMutableLongIterator
-
-