Class UnmodifiableLongIterator
java.lang.Object
org.eclipse.collections.impl.iterator.UnmodifiableLongIterator
- All Implemented Interfaces:
LongIterator,MutableLongIterator
public class UnmodifiableLongIterator extends 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.
-
Constructor Summary
Constructors Constructor Description UnmodifiableLongIterator(LongIterator longIterator) -
Method Summary
-
Constructor Details
-
Method Details
-
hasNext
public boolean hasNext()- Specified by:
hasNextin interfaceLongIterator
-
next
public long next()- Specified by:
nextin interfaceLongIterator
-
remove
public void remove()- Specified by:
removein interfaceMutableLongIterator
-