Class IntHashMap.EntryIterator

  • All Implemented Interfaces:
    java.util.Iterator<java.util.Map.Entry<java.lang.Integer,​E>>
    Enclosing class:
    IntHashMap<E>

    private final class IntHashMap.EntryIterator
    extends java.lang.Object
    implements java.util.Iterator<java.util.Map.Entry<java.lang.Integer,​E>>
    iterator over values
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private EntryIterator()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      private void findNext()
      find the next key
      boolean hasNext()  
      java.util.Map.Entry<java.lang.Integer,​E> next()  
      void remove()  
      • 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

      • index

        private int index
      • bucketIndex

        private int bucketIndex
      • current

        private int current
      • currentValue

        private E currentValue
      • hasNext

        private boolean hasNext
    • Constructor Detail

      • EntryIterator

        private EntryIterator()
    • Method Detail

      • hasNext

        public boolean hasNext()
        Specified by:
        hasNext in interface java.util.Iterator<java.util.Map.Entry<java.lang.Integer,​E>>
      • next

        public java.util.Map.Entry<java.lang.Integer,​E> next()
        Specified by:
        next in interface java.util.Iterator<java.util.Map.Entry<java.lang.Integer,​E>>
      • remove

        public void remove()
        Specified by:
        remove in interface java.util.Iterator<java.util.Map.Entry<java.lang.Integer,​E>>
      • findNext

        private void findNext()
        find the next key