Package com.google.common.cache
Class LocalCache.Values
- java.lang.Object
-
- java.util.AbstractCollection<V>
-
- com.google.common.cache.LocalCache.Values
-
- All Implemented Interfaces:
java.lang.Iterable<V>
,java.util.Collection<V>
- Enclosing class:
- LocalCache<K,V>
final class LocalCache.Values extends java.util.AbstractCollection<V>
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.concurrent.ConcurrentMap<?,?>
map
-
Constructor Summary
Constructors Constructor Description Values(java.util.concurrent.ConcurrentMap<?,?> map)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
boolean
contains(java.lang.Object o)
boolean
isEmpty()
java.util.Iterator<V>
iterator()
boolean
removeIf(java.util.function.Predicate<? super V> filter)
int
size()
java.lang.Object[]
toArray()
<E> E[]
toArray(E[] a)
-
Methods inherited from class java.util.AbstractCollection
add, addAll, containsAll, remove, removeAll, retainAll, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
size
public int size()
-
isEmpty
public boolean isEmpty()
-
clear
public void clear()
-
iterator
public java.util.Iterator<V> iterator()
-
removeIf
public boolean removeIf(java.util.function.Predicate<? super V> filter)
-
contains
public boolean contains(java.lang.Object o)
-
toArray
public java.lang.Object[] toArray()
-
-