Package org.infinispan.cache.impl
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> 
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidclear()booleanisEmpty()iterator()booleanbooleanremoveAll(Collection<?> c) booleanretainAll(Collection<?> c) intsize()stream()Methods inherited from class java.util.AbstractSetequals, hashCodeMethods inherited from class java.util.AbstractCollectionadd, addAll, contains, containsAll, toArray, toArray, toStringMethods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.infinispan.CacheCollectionlocalPublisher, localPublisherMethods inherited from interface java.util.CollectionremoveIf, toArray
- 
Constructor Details- 
KeySetprotected KeySet()
 
- 
- 
Method Details- 
retainAll- Specified by:
- retainAllin interface- Collection<K>
- Specified by:
- retainAllin interface- Set<K>
- Overrides:
- retainAllin class- AbstractCollection<K>
 
- 
remove- Specified by:
- removein interface- Collection<K>
- Specified by:
- removein interface- Set<K>
- Overrides:
- removein class- AbstractCollection<K>
 
- 
removeAll- Specified by:
- removeAllin interface- Collection<K>
- Specified by:
- removeAllin interface- Set<K>
- Overrides:
- removeAllin class- AbstractSet<K>
 
- 
clearpublic void clear()- Specified by:
- clearin interface- Collection<K>
- Specified by:
- clearin interface- Set<K>
- Overrides:
- clearin class- AbstractCollection<K>
 
- 
iteratorDescription 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 interface- CloseableIteratorCollection<K>
- Specified by:
- iteratorin interface- Collection<K>
- Specified by:
- iteratorin interface- Iterable<K>
- Specified by:
- iteratorin interface- Set<K>
- Specified by:
- iteratorin class- AbstractCollection<K>
 
- 
spliteratorDescription 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 interface- CloseableIteratorCollection<K>
- Specified by:
- spliteratorin interface- CloseableIteratorSet<K>
- Specified by:
- spliteratorin interface- Collection<K>
- Specified by:
- spliteratorin interface- Iterable<K>
- Specified by:
- spliteratorin interface- Set<K>
 
- 
sizepublic int size()- Specified by:
- sizein interface- Collection<K>
- Specified by:
- sizein interface- Set<K>
- Specified by:
- sizein class- AbstractCollection<K>
 
- 
isEmptypublic boolean isEmpty()- Specified by:
- isEmptyin interface- Collection<K>
- Specified by:
- isEmptyin interface- Set<K>
- Overrides:
- isEmptyin class- AbstractCollection<K>
 
- 
streamDescription 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 interface- CacheCollection<K>
- Specified by:
- streamin interface- CloseableIteratorCollection<K>
- Specified by:
- streamin interface- Collection<K>
 
- 
parallelStreamDescription 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 interface- CacheCollection<K>
- Specified by:
- parallelStreamin interface- CloseableIteratorCollection<K>
- Specified by:
- parallelStreamin interface- Collection<K>
 
 
-