Class OffHeapHashMap.HashIterator<T>

java.lang.Object
org.terracotta.offheapstore.OffHeapHashMap.HashIterator<T>
All Implemented Interfaces:
Iterator<T>
Direct Known Subclasses:
OffHeapHashMap.EncodingIterator, OffHeapHashMap.EntryIterator, OffHeapHashMap.KeyIterator
Enclosing class:
OffHeapHashMap<K,V>

protected abstract class OffHeapHashMap.HashIterator<T> extends Object implements Iterator<T>
  • Field Details

    • expectedModCount

      final int expectedModCount
    • table

      final IntBuffer table
    • tableView

      final IntBuffer tableView
    • next

      T next
  • Constructor Details

    • HashIterator

      HashIterator()
  • Method Details

    • create

      protected abstract T create(IntBuffer entry)
    • hasNext

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

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

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

      protected void checkForConcurrentModification()