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<? extends K> i) -
Method Summary
Modifier and Type Method Description voidforEachRemaining(java.util.function.Consumer<? super K> action)booleanhasNext()Knext()Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Iterator
removeMethods inherited from interface it.unimi.dsi.fastutil.objects.ObjectIterator
skip