Class UnboundedLocalCache.EntryIterator<K,V>
- java.lang.Object
-
- com.github.benmanes.caffeine.cache.UnboundedLocalCache.EntryIterator<K,V>
-
- All Implemented Interfaces:
java.util.Iterator<java.util.Map.Entry<K,V>>
- Enclosing class:
- UnboundedLocalCache<K,V>
static final class UnboundedLocalCache.EntryIterator<K,V> extends java.lang.Object implements java.util.Iterator<java.util.Map.Entry<K,V>>
An adapter to safely externalize the entry iterator.
-
-
Constructor Summary
Constructors Constructor Description EntryIterator(UnboundedLocalCache<K,V> cache)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasNext()
java.util.Map.Entry<K,V>
next()
void
remove()
-
-
-
Constructor Detail
-
EntryIterator
EntryIterator(UnboundedLocalCache<K,V> cache)
-
-