Class AbstractObjectIterator<K>

All Implemented Interfaces:
ObjectIterator<K>, java.util.Iterator<K>
Direct Known Subclasses:
AbstractObjectBidirectionalIterator, ObjectBigListIterators.AbstractIndexBasedBigIterator, ObjectIterators.AbstractIndexBasedIterator

public abstract class AbstractObjectIterator<K>
extends java.lang.Object
implements ObjectIterator<K>
An abstract class facilitating the creation of type-specific iterators.
API Notes:
Up to version 8.5.0, this class was deprecated as abstract methods were turned into default methods of the type-specific interface. Now the class hosts finalized versions of default delegating methods such as Iterator.forEachRemaining(java.util.function.Consumer<? super E>).
  • Method Summary

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface java.util.Iterator

    forEachRemaining, hasNext, next, remove

    Methods inherited from interface it.unimi.dsi.fastutil.objects.ObjectIterator