Package gw.util.concurrent
Class Cache.ConcurrentLinkedHashMap.EntryIteratorAdapter
- java.lang.Object
-
- gw.util.concurrent.Cache.ConcurrentLinkedHashMap.EntryIteratorAdapter
-
- All Implemented Interfaces:
java.util.Iterator<java.util.Map.Entry<K,V>>
- Enclosing class:
- Cache.ConcurrentLinkedHashMap<K,V>
private final class Cache.ConcurrentLinkedHashMap.EntryIteratorAdapter extends java.lang.Object implements java.util.Iterator<java.util.Map.Entry<K,V>>An adapter to represent the data store's entry iterator in the external type.
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Map.Entry<K,Cache.ConcurrentLinkedHashMap.Node<K,V>>currentprivate java.util.Iterator<java.util.Map.Entry<K,Cache.ConcurrentLinkedHashMap.Node<K,V>>>iterator
-
Constructor Summary
Constructors Constructor Description EntryIteratorAdapter(java.util.Iterator<java.util.Map.Entry<K,Cache.ConcurrentLinkedHashMap.Node<K,V>>> iterator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanhasNext()java.util.Map.Entry<K,V>next()voidremove()
-
-
-
Field Detail
-
iterator
private final java.util.Iterator<java.util.Map.Entry<K,Cache.ConcurrentLinkedHashMap.Node<K,V>>> iterator
-
current
private java.util.Map.Entry<K,Cache.ConcurrentLinkedHashMap.Node<K,V>> current
-
-
Constructor Detail
-
EntryIteratorAdapter
public EntryIteratorAdapter(java.util.Iterator<java.util.Map.Entry<K,Cache.ConcurrentLinkedHashMap.Node<K,V>>> iterator)
-
-