Class IntMapIterator<T>

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

    public class IntMapIterator<T>
    extends java.lang.Object
    implements java.util.Iterator<T>
    An IntMapIterator maps an Iterator contents to produce a new Iterator
    • Constructor Summary

      Constructors 
      Constructor Description
      IntMapIterator​(IntIterator i, java.util.function.IntFunction<T> f)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean hasNext()  
      T next()  
      void remove()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

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

        forEachRemaining
    • Constructor Detail

      • IntMapIterator

        public IntMapIterator​(IntIterator i,
                              java.util.function.IntFunction<T> f)
    • Method Detail

      • next

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

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

        public void remove()
                    throws java.lang.UnsupportedOperationException
        Specified by:
        remove in interface java.util.Iterator<T>
        Throws:
        java.lang.UnsupportedOperationException
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object