Class UnmodifiableShortIterator
- java.lang.Object
-
- org.eclipse.collections.impl.iterator.UnmodifiableShortIterator
-
- All Implemented Interfaces:
MutableShortIterator
,ShortIterator
public class UnmodifiableShortIterator extends java.lang.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.
-
-
Field Summary
Fields Modifier and Type Field Description private ShortIterator
shortIterator
-
Constructor Summary
Constructors Constructor Description UnmodifiableShortIterator(ShortIterator shortIterator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasNext()
short
next()
void
remove()
-
-
-
Field Detail
-
shortIterator
private final ShortIterator shortIterator
-
-
Constructor Detail
-
UnmodifiableShortIterator
public UnmodifiableShortIterator(ShortIterator shortIterator)
-
-
Method Detail
-
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
-
-