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>
-
Constructor Summary
Constructors -
Method Summary
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
-
KeySet
protected KeySet()
-
-
Method Details
-
retainAll
- Specified by:
retainAll
in interfaceCollection<K>
- Specified by:
retainAll
in interfaceSet<K>
- Overrides:
retainAll
in classAbstractCollection<K>
-
remove
- Specified by:
remove
in interfaceCollection<K>
- Specified by:
remove
in interfaceSet<K>
- Overrides:
remove
in classAbstractCollection<K>
-
removeAll
- Specified by:
removeAll
in interfaceCollection<K>
- Specified by:
removeAll
in interfaceSet<K>
- Overrides:
removeAll
in classAbstractSet<K>
-
clear
public void clear()- Specified by:
clear
in interfaceCollection<K>
- Specified by:
clear
in interfaceSet<K>
- Overrides:
clear
in classAbstractCollection<K>
-
iterator
-
spliterator
- Specified by:
spliterator
in interfaceorg.infinispan.commons.util.CloseableIteratorCollection<K>
- Specified by:
spliterator
in interfaceorg.infinispan.commons.util.CloseableIteratorSet<K>
- Specified by:
spliterator
in interfaceCollection<K>
- Specified by:
spliterator
in interfaceIterable<K>
- Specified by:
spliterator
in interfaceSet<K>
-
size
public int size()- Specified by:
size
in interfaceCollection<K>
- Specified by:
size
in interfaceSet<K>
- Specified by:
size
in classAbstractCollection<K>
-
isEmpty
public boolean isEmpty()- Specified by:
isEmpty
in interfaceCollection<K>
- Specified by:
isEmpty
in interfaceSet<K>
- Overrides:
isEmpty
in classAbstractCollection<K>
-
stream
- Specified by:
stream
in interfaceCacheCollection<K>
- Specified by:
stream
in interfaceorg.infinispan.commons.util.CloseableIteratorCollection<K>
- Specified by:
stream
in interfaceCollection<K>
-
parallelStream
- Specified by:
parallelStream
in interfaceCacheCollection<K>
- Specified by:
parallelStream
in interfaceorg.infinispan.commons.util.CloseableIteratorCollection<K>
- Specified by:
parallelStream
in interfaceCollection<K>
-