Package org.infinispan.cache.impl
Class SimpleCacheImpl.KeySet
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractSet<K>
-
- org.infinispan.cache.impl.SimpleCacheImpl.KeySet
-
- All Implemented Interfaces:
Iterable<K>,Collection<K>,Set<K>,CacheCollection<K>,CacheSet<K>,org.infinispan.commons.util.CloseableIteratorCollection<K>,org.infinispan.commons.util.CloseableIteratorSet<K>
- Enclosing class:
- SimpleCacheImpl<K,V>
protected class SimpleCacheImpl.KeySet extends AbstractSet<K> implements CacheSet<K>
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedKeySet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()booleanisEmpty()org.infinispan.commons.util.CloseableIterator<K>iterator()CacheStream<K>parallelStream()booleanremove(Object o)booleanremoveAll(Collection<?> c)booleanretainAll(Collection<?> c)intsize()org.infinispan.commons.util.CloseableSpliterator<K>spliterator()CacheStream<K>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<K>- Specified by:
retainAllin interfaceSet<K>- Overrides:
retainAllin classAbstractCollection<K>
-
remove
public boolean remove(Object o)
- Specified by:
removein interfaceCollection<K>- Specified by:
removein interfaceSet<K>- Overrides:
removein classAbstractCollection<K>
-
removeAll
public boolean removeAll(Collection<?> c)
- 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
public org.infinispan.commons.util.CloseableIterator<K> iterator()
-
spliterator
public org.infinispan.commons.util.CloseableSpliterator<K> spliterator()
- Specified by:
spliteratorin interfaceorg.infinispan.commons.util.CloseableIteratorCollection<K>- Specified by:
spliteratorin interfaceorg.infinispan.commons.util.CloseableIteratorSet<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
public CacheStream<K> stream()
- Specified by:
streamin interfaceCacheCollection<K>- Specified by:
streamin interfaceorg.infinispan.commons.util.CloseableIteratorCollection<K>- Specified by:
streamin interfaceCollection<K>
-
parallelStream
public CacheStream<K> parallelStream()
- Specified by:
parallelStreamin interfaceCacheCollection<K>- Specified by:
parallelStreamin interfaceorg.infinispan.commons.util.CloseableIteratorCollection<K>- Specified by:
parallelStreamin interfaceCollection<K>
-
-