Documentation of 'com.carrotsearch.hppc.AbstractIterator' Java class
AbstractIterator
com.carrotsearch.hppc

Class AbstractIterator<E>

  • All Implemented Interfaces:
    java.util.Iterator<E>


    public abstract class AbstractIterator<E>
    extends java.lang.Object
    implements java.util.Iterator<E>
    Simplifies the implementation of iterators a bit. Modeled loosely after Google Guava's API.
    • Constructor Summary

      Constructors 
      Constructor and Description
      AbstractIterator() 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      boolean hasNext()
      E next()
      void remove()
      Default implementation throws UnsupportedOperationException.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.Iterator

        forEachRemaining
    • Constructor Detail

      • AbstractIterator

        public AbstractIterator()
    • Method Detail

      • hasNext

        public boolean hasNext()
        Specified by:
        hasNext in interface java.util.Iterator<E>
      • next

        public E next()
        Specified by:
        next in interface java.util.Iterator<E>
      • remove

        public void remove()
        Default implementation throws UnsupportedOperationException.
        Specified by:
        remove in interface java.util.Iterator<E>

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.