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>
-
-
Constructor Summary
Constructors Constructor Description Values()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()booleancontains(java.lang.Object o)booleanisEmpty()java.util.Iterator<V>iterator()booleanremoveIf(java.util.function.Predicate<? super V> filter)intsize()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()
-
-