Class WeakHashMapSafeReadLock.HashIterator<T>

    • Field Detail

      • index

        int index
      • expectedModCount

        int expectedModCount
      • nextKey

        java.lang.Object nextKey
        Strong reference needed to avoid disappearance of key between hasNext and next
      • currentKey

        java.lang.Object currentKey
        Strong reference needed to avoid disappearance of key between nextEntry() and any use of the entry
    • Constructor Detail

      • HashIterator

        HashIterator()
    • Method Detail

      • hasNext

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

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