Class SimpleCacheImpl.KeySet
java.lang.Object
java.util.AbstractCollection<K>
java.util.AbstractSet<K>
org.infinispan.cache.impl.SimpleCacheImpl.KeySet
- All Implemented Interfaces:
Iterable<K>, Collection<K>, Set<K>, CacheCollection<K>, CacheSet<K>, CloseableIteratorCollection<K>, CloseableIteratorSet<K>
- 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
-
KeySet
protected KeySet()
-
-
Method Details
-
retainAll
- Specified by:
retainAllin interfaceCollection<K>- Specified by:
retainAllin interfaceSet<K>- Overrides:
retainAllin classAbstractCollection<K>
-
remove
- Specified by:
removein interfaceCollection<K>- Specified by:
removein interfaceSet<K>- Overrides:
removein classAbstractCollection<K>
-
removeAll
- Specified by:
removeAllin interfaceCollection<K>- Specified by:
removeAllin interfaceSet<K>- Overrides:
removeAllin classAbstractSet<K>
-
clear
public void clear()- Specified by:
clearin interfaceCollection<K>- Specified by:
clearin interfaceSet<K>- Overrides:
clearin classAbstractCollection<K>
-
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<K>- Specified by:
iteratorin interfaceCollection<K>- Specified by:
iteratorin interfaceIterable<K>- Specified by:
iteratorin interfaceSet<K>- Specified by:
iteratorin classAbstractCollection<K>
-
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<K>- Specified by:
spliteratorin interfaceCloseableIteratorSet<K>- Specified by:
spliteratorin interfaceCollection<K>- Specified by:
spliteratorin interfaceIterable<K>- Specified by:
spliteratorin interfaceSet<K>
-
size
public int size()- Specified by:
sizein interfaceCollection<K>- Specified by:
sizein interfaceSet<K>- Specified by:
sizein classAbstractCollection<K>
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceCollection<K>- Specified by:
isEmptyin interfaceSet<K>- Overrides:
isEmptyin classAbstractCollection<K>
-
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<K>- Specified by:
streamin interfaceCloseableIteratorCollection<K>- Specified by:
streamin interfaceCollection<K>
-
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<K>- Specified by:
parallelStreamin interfaceCloseableIteratorCollection<K>- Specified by:
parallelStreamin interfaceCollection<K>
-