Package it.unimi.dsi.fastutil.objects
Class ObjectIterators.UnmodifiableIterator<K>
- java.lang.Object
-
- it.unimi.dsi.fastutil.objects.ObjectIterators.UnmodifiableIterator<K>
-
- All Implemented Interfaces:
ObjectIterator<K>
,java.util.Iterator<K>
- Enclosing class:
- ObjectIterators
public static class ObjectIterators.UnmodifiableIterator<K> extends java.lang.Object implements ObjectIterator<K>
An unmodifiable wrapper class for iterators.
-
-
Constructor Summary
Constructors Constructor Description UnmodifiableIterator(ObjectIterator<K> i)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasNext()
K
next()
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface it.unimi.dsi.fastutil.objects.ObjectIterator
skip
-
-
-
-
Constructor Detail
-
UnmodifiableIterator
public UnmodifiableIterator(ObjectIterator<K> i)
-
-