Package org.terracotta.offheapstore
Class OffHeapHashMap.HashIterator<T>
- java.lang.Object
-
- org.terracotta.offheapstore.OffHeapHashMap.HashIterator<T>
-
- All Implemented Interfaces:
java.util.Iterator<T>
- Direct Known Subclasses:
OffHeapHashMap.EncodingIterator,OffHeapHashMap.EntryIterator,OffHeapHashMap.KeyIterator
- Enclosing class:
- OffHeapHashMap<K,V>
protected abstract class OffHeapHashMap.HashIterator<T> extends java.lang.Object implements java.util.Iterator<T>
-
-
Field Summary
Fields Modifier and Type Field Description (package private) intexpectedModCount(package private) Tnext(package private) java.nio.IntBuffertable(package private) java.nio.IntBuffertableView
-
Constructor Summary
Constructors Constructor Description HashIterator()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected voidcheckForConcurrentModification()protected abstract Tcreate(java.nio.IntBuffer entry)booleanhasNext()Tnext()voidremove()
-
-
-
Field Detail
-
expectedModCount
final int expectedModCount
-
table
final java.nio.IntBuffer table
-
tableView
final java.nio.IntBuffer tableView
-
next
T next
-
-
Method Detail
-
create
protected abstract T create(java.nio.IntBuffer entry)
-
hasNext
public boolean hasNext()
- Specified by:
hasNextin interfacejava.util.Iterator<T>
-
remove
public void remove()
- Specified by:
removein interfacejava.util.Iterator<T>
-
checkForConcurrentModification
protected void checkForConcurrentModification()
-
-