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