Package org.infinispan.cache.impl
Class SimpleCacheImpl.Values
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractSet<V>
-
- org.infinispan.cache.impl.SimpleCacheImpl.Values
-
- All Implemented Interfaces:
Iterable<V>,Collection<V>,Set<V>,CacheCollection<V>,org.infinispan.commons.util.CloseableIteratorCollection<V>
- Enclosing class:
- SimpleCacheImpl<K,V>
protected class SimpleCacheImpl.Values extends AbstractSet<V> implements CacheCollection<V>
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedValues()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()booleanisEmpty()org.infinispan.commons.util.CloseableIterator<V>iterator()CacheStream<V>parallelStream()booleanremove(Object o)booleanremoveAll(Collection<?> c)booleanretainAll(Collection<?> c)intsize()org.infinispan.commons.util.CloseableSpliterator<V>spliterator()CacheStream<V>stream()-
Methods inherited from class java.util.AbstractSet
equals, hashCode
-
Methods inherited from class java.util.AbstractCollection
add, addAll, contains, containsAll, toArray, toArray, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.infinispan.CacheCollection
localPublisher, localPublisher
-
Methods inherited from interface java.util.Collection
removeIf, toArray
-
-
-
-
Method Detail
-
retainAll
public boolean retainAll(Collection<?> c)
- Specified by:
retainAllin interfaceCollection<V>- Specified by:
retainAllin interfaceSet<V>- Overrides:
retainAllin classAbstractCollection<V>
-
removeAll
public boolean removeAll(Collection<?> c)
- Specified by:
removeAllin interfaceCollection<V>- Specified by:
removeAllin interfaceSet<V>- Overrides:
removeAllin classAbstractSet<V>
-
remove
public boolean remove(Object o)
- Specified by:
removein interfaceCollection<V>- Specified by:
removein interfaceSet<V>- Overrides:
removein classAbstractCollection<V>
-
clear
public void clear()
- Specified by:
clearin interfaceCollection<V>- Specified by:
clearin interfaceSet<V>- Overrides:
clearin classAbstractCollection<V>
-
iterator
public org.infinispan.commons.util.CloseableIterator<V> iterator()
-
spliterator
public org.infinispan.commons.util.CloseableSpliterator<V> spliterator()
- Specified by:
spliteratorin interfaceorg.infinispan.commons.util.CloseableIteratorCollection<V>- Specified by:
spliteratorin interfaceCollection<V>- Specified by:
spliteratorin interfaceIterable<V>- Specified by:
spliteratorin interfaceSet<V>
-
size
public int size()
- Specified by:
sizein interfaceCollection<V>- Specified by:
sizein interfaceSet<V>- Specified by:
sizein classAbstractCollection<V>
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfaceCollection<V>- Specified by:
isEmptyin interfaceSet<V>- Overrides:
isEmptyin classAbstractCollection<V>
-
stream
public CacheStream<V> stream()
- Specified by:
streamin interfaceCacheCollection<V>- Specified by:
streamin interfaceorg.infinispan.commons.util.CloseableIteratorCollection<V>- Specified by:
streamin interfaceCollection<V>
-
parallelStream
public CacheStream<V> parallelStream()
- Specified by:
parallelStreamin interfaceCacheCollection<V>- Specified by:
parallelStreamin interfaceorg.infinispan.commons.util.CloseableIteratorCollection<V>- Specified by:
parallelStreamin interfaceCollection<V>
-
-