Class WeakHashMapSafeReadLock.HashIterator<T>

java.lang.Object
org.glassfish.pfl.basic.concurrent.WeakHashMapSafeReadLock.HashIterator<T>
All Implemented Interfaces:
Iterator<T>
Direct Known Subclasses:
WeakHashMapSafeReadLock.EntryIterator, WeakHashMapSafeReadLock.KeyIterator, WeakHashMapSafeReadLock.ValueIterator
Enclosing class:
WeakHashMapSafeReadLock<K,V>

private abstract class WeakHashMapSafeReadLock.HashIterator<T> extends Object implements Iterator<T>
  • Field Details

    • index

      int index
    • entry

    • lastReturned

    • expectedModCount

      int expectedModCount
    • nextKey

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

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

    • HashIterator

      HashIterator()
  • Method Details