Class BoundedLocalCache.EntryIterator<K,V>
- java.lang.Object
-
- com.github.benmanes.caffeine.cache.BoundedLocalCache.EntryIterator<K,V>
-
- All Implemented Interfaces:
java.util.Iterator<java.util.Map.Entry<K,V>>
- Enclosing class:
- BoundedLocalCache<K,V>
static final class BoundedLocalCache.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.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) BoundedLocalCache<K,V>cache(package private) java.util.Iterator<Node<K,V>>iterator(package private) @Nullable Kkey(package private) @Nullable Node<K,V>next(package private) longnow(package private) @Nullable KremovalKey(package private) @Nullable Vvalue
-
Constructor Summary
Constructors Constructor Description EntryIterator(BoundedLocalCache<K,V> cache)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanhasNext()java.util.Map.Entry<K,V>next()(package private) KnextKey()(package private) VnextValue()voidremove()
-
-
-
Constructor Detail
-
EntryIterator
EntryIterator(BoundedLocalCache<K,V> cache)
-
-