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 ShortIteratorshortIterator
-
Constructor Summary
Constructors Constructor Description UnmodifiableShortIterator(ShortIterator shortIterator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanhasNext()shortnext()voidremove()
-
-
-
Field Detail
-
shortIterator
private final ShortIterator shortIterator
-
-
Constructor Detail
-
UnmodifiableShortIterator
public UnmodifiableShortIterator(ShortIterator shortIterator)
-
-
Method Detail
-
hasNext
public boolean hasNext()
- Specified by:
hasNextin interfaceShortIterator
-
next
public short next()
- Specified by:
nextin interfaceShortIterator
-
remove
public void remove()
- Specified by:
removein interfaceMutableShortIterator
-
-