Class UnmodifiableShortIterator
java.lang.Object
org.eclipse.collections.impl.iterator.UnmodifiableShortIterator
- All Implemented Interfaces:
MutableShortIterator
,ShortIterator
public class UnmodifiableShortIterator extends Object implements MutableShortIterator
UnmodifiableShortIterator is a wrapper around ShortIterator which is unmodifiable and doesn't support remove.
This file was automatically generated from template file unmodifiablePrimitiveIterator.stg.
-
Constructor Summary
Constructors Constructor Description UnmodifiableShortIterator(ShortIterator shortIterator)
-
Method Summary
-
Constructor Details
-
Method Details
-
hasNext
public boolean hasNext()- Specified by:
hasNext
in interfaceShortIterator
-
next
public short next()- Specified by:
next
in interfaceShortIterator
-
remove
public void remove()- Specified by:
remove
in interfaceMutableShortIterator
-