Class SimpleCacheImpl.Values
java.lang.Object
java.util.AbstractCollection<V>
java.util.AbstractSet<V>
org.infinispan.cache.impl.SimpleCacheImpl.Values
- All Implemented Interfaces:
Iterable<V>, Collection<V>, Set<V>, CacheCollection<V>, CloseableIteratorCollection<V>
- Enclosing class:
SimpleCacheImpl<K,V>
- Author:
- Radim Vansa <rvansa@redhat.com>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()booleanisEmpty()iterator()booleanbooleanremoveAll(Collection<?> c) booleanretainAll(Collection<?> c) intsize()stream()Methods inherited from class AbstractSet
equals, hashCodeMethods inherited from class AbstractCollection
add, addAll, contains, containsAll, toArray, toArray, toStringMethods inherited from interface CacheCollection
localPublisher, localPublisherMethods inherited from interface Collection
removeIf, toArray
-
Constructor Details
-
Values
protected Values()
-
-
Method Details
-
retainAll
- Specified by:
retainAllin interfaceCollection<V>- Specified by:
retainAllin interfaceSet<V>- Overrides:
retainAllin classAbstractCollection<V>
-
removeAll
- Specified by:
removeAllin interfaceCollection<V>- Specified by:
removeAllin interfaceSet<V>- Overrides:
removeAllin classAbstractSet<V>
-
remove
- 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
Description copied from interface:CloseableIteratorCollectionThis iterator should be explicitly closed when iteration upon it is completed. Failure to do so could cause resources to not be freed properly
- Specified by:
iteratorin interfaceCloseableIteratorCollection<V>- Specified by:
iteratorin interfaceCollection<V>- Specified by:
iteratorin interfaceIterable<V>- Specified by:
iteratorin interfaceSet<V>- Specified by:
iteratorin classAbstractCollection<V>
-
spliterator
Description copied from interface:CloseableIteratorCollectionThis spliterator should be explicitly closed after it has been used. Failure to do so could cause resources to not be freed properly
- Specified by:
spliteratorin interfaceCloseableIteratorCollection<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
Description copied from interface:CloseableIteratorCollectionThis stream should be explicitly closed after it has been used. Failure to do so could cause resources to not be freed properly
- Specified by:
streamin interfaceCacheCollection<V>- Specified by:
streamin interfaceCloseableIteratorCollection<V>- Specified by:
streamin interfaceCollection<V>
-
parallelStream
Description copied from interface:CloseableIteratorCollectionThis stream should be explicitly closed after it has been used. Failure to do so could cause resources to not be freed properly
- Specified by:
parallelStreamin interfaceCacheCollection<V>- Specified by:
parallelStreamin interfaceCloseableIteratorCollection<V>- Specified by:
parallelStreamin interfaceCollection<V>
-