Class CompactHashMap.Itr<T>

  • All Implemented Interfaces:
    java.util.Iterator<T>
    Enclosing class:
    CompactHashMap<K,​V>

    private abstract class CompactHashMap.Itr<T>
    extends java.lang.Object
    implements java.util.Iterator<T>
    • Field Detail

      • expectedMetadata

        int expectedMetadata
      • currentIndex

        int currentIndex
      • indexToRemove

        int indexToRemove
    • Constructor Detail

      • Itr

        private Itr()
    • Method Detail

      • hasNext

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

        abstract T getOutput​(int entry)
      • next

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

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

        void incrementExpectedModCount()
      • checkForConcurrentModification

        private void checkForConcurrentModification()