Class CompactHashMap.Itr<T>

java.lang.Object
com.google.common.collect.CompactHashMap.Itr<T>
All Implemented Interfaces:
Iterator<T>
Enclosing class:
CompactHashMap<K,V>

private abstract class CompactHashMap.Itr<T> extends Object implements Iterator<T>
  • Field Details

    • expectedMetadata

      int expectedMetadata
    • currentIndex

      int currentIndex
    • indexToRemove

      int indexToRemove
  • Constructor Details

    • Itr

      private Itr()
  • Method Details

    • hasNext

      public boolean hasNext()
      Specified by:
      hasNext in interface Iterator<T>
    • getOutput

      abstract T getOutput(int entry)
    • next

      public T next()
      Specified by:
      next in interface Iterator<T>
    • remove

      public void remove()
      Specified by:
      remove in interface Iterator<T>
    • incrementExpectedModCount

      void incrementExpectedModCount()
    • checkForConcurrentModification

      private void checkForConcurrentModification()