Class ObjectIterators.UnmodifiableIterator<K>
- java.lang.Object
-
- org.codelibs.jhighlight.fastutil.objects.AbstractObjectIterator<K>
-
- org.codelibs.jhighlight.fastutil.objects.ObjectIterators.UnmodifiableIterator<K>
-
- All Implemented Interfaces:
Iterator<K>,ObjectIterator<K>
- Enclosing class:
- ObjectIterators
public static class ObjectIterators.UnmodifiableIterator<K> extends AbstractObjectIterator<K>
An unmodifiable wrapper class for iterators.
-
-
Field Summary
Fields Modifier and Type Field Description protected ObjectIterator<K>i
-
Constructor Summary
Constructors Constructor Description UnmodifiableIterator(ObjectIterator<K> i)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanhasNext()Knext()-
Methods inherited from class org.codelibs.jhighlight.fastutil.objects.AbstractObjectIterator
remove, skip
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Iterator
forEachRemaining
-
-
-
-
Field Detail
-
i
protected final ObjectIterator<K> i
-
-
Constructor Detail
-
UnmodifiableIterator
public UnmodifiableIterator(ObjectIterator<K> i)
-
-
Method Detail
-
hasNext
public boolean hasNext()
-
next
public K next()
-
-