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>
,CloseableIteratorCollection<V>
- Enclosing class:
- SimpleCacheImpl<K,
V>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
boolean
isEmpty()
iterator()
boolean
boolean
removeAll
(Collection<?> c) boolean
retainAll
(Collection<?> c) int
size()
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
-
Constructor Details
-
Values
protected Values()
-
-
Method Details
-
retainAll
- Specified by:
retainAll
in interfaceCollection<V>
- Specified by:
retainAll
in interfaceSet<V>
- Overrides:
retainAll
in classAbstractCollection<V>
-
removeAll
- Specified by:
removeAll
in interfaceCollection<V>
- Specified by:
removeAll
in interfaceSet<V>
- Overrides:
removeAll
in classAbstractSet<V>
-
remove
- Specified by:
remove
in interfaceCollection<V>
- Specified by:
remove
in interfaceSet<V>
- Overrides:
remove
in classAbstractCollection<V>
-
clear
public void clear()- Specified by:
clear
in interfaceCollection<V>
- Specified by:
clear
in interfaceSet<V>
- Overrides:
clear
in classAbstractCollection<V>
-
iterator
Description copied from interface:CloseableIteratorCollection
This 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:
iterator
in interfaceCloseableIteratorCollection<V>
- Specified by:
iterator
in interfaceCollection<V>
- Specified by:
iterator
in interfaceIterable<V>
- Specified by:
iterator
in interfaceSet<V>
- Specified by:
iterator
in classAbstractCollection<V>
-
spliterator
Description copied from interface:CloseableIteratorCollection
This spliterator should be explicitly closed after it has been used. Failure to do so could cause resources to not be freed properly
- Specified by:
spliterator
in interfaceCloseableIteratorCollection<V>
- Specified by:
spliterator
in interfaceCollection<V>
- Specified by:
spliterator
in interfaceIterable<V>
- Specified by:
spliterator
in interfaceSet<V>
-
size
public int size()- Specified by:
size
in interfaceCollection<V>
- Specified by:
size
in interfaceSet<V>
- Specified by:
size
in classAbstractCollection<V>
-
isEmpty
public boolean isEmpty()- Specified by:
isEmpty
in interfaceCollection<V>
- Specified by:
isEmpty
in interfaceSet<V>
- Overrides:
isEmpty
in classAbstractCollection<V>
-
stream
Description copied from interface:CloseableIteratorCollection
This stream should be explicitly closed after it has been used. Failure to do so could cause resources to not be freed properly
- Specified by:
stream
in interfaceCacheCollection<V>
- Specified by:
stream
in interfaceCloseableIteratorCollection<V>
- Specified by:
stream
in interfaceCollection<V>
-
parallelStream
Description copied from interface:CloseableIteratorCollection
This stream should be explicitly closed after it has been used. Failure to do so could cause resources to not be freed properly
- Specified by:
parallelStream
in interfaceCacheCollection<V>
- Specified by:
parallelStream
in interfaceCloseableIteratorCollection<V>
- Specified by:
parallelStream
in interfaceCollection<V>
-