Package org.infinispan.cache.impl
Class SimpleCacheImpl.CacheEntrySet
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractSet<T>
-
- org.infinispan.cache.impl.SimpleCacheImpl.EntrySetBase<CacheEntry<K,V>>
-
- org.infinispan.cache.impl.SimpleCacheImpl.CacheEntrySet
-
- All Implemented Interfaces:
Iterable<CacheEntry<K,V>>,Collection<CacheEntry<K,V>>,Set<CacheEntry<K,V>>,CacheCollection<CacheEntry<K,V>>,CacheSet<CacheEntry<K,V>>,org.infinispan.commons.util.CloseableIteratorCollection<CacheEntry<K,V>>,org.infinispan.commons.util.CloseableIteratorSet<CacheEntry<K,V>>
- Enclosing class:
- SimpleCacheImpl<K,V>
protected class SimpleCacheImpl.CacheEntrySet extends SimpleCacheImpl.EntrySetBase<CacheEntry<K,V>> implements CacheSet<CacheEntry<K,V>>
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedCacheEntrySet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanadd(CacheEntry<K,V> entry)booleanaddAll(Collection<? extends CacheEntry<K,V>> c)org.infinispan.commons.util.CloseableIterator<CacheEntry<K,V>>iterator()CacheStream<CacheEntry<K,V>>parallelStream()org.infinispan.commons.util.CloseableSpliterator<CacheEntry<K,V>>spliterator()CacheStream<CacheEntry<K,V>>stream()-
Methods inherited from class org.infinispan.cache.impl.SimpleCacheImpl.EntrySetBase
clear, contains, isEmpty, remove, removeAll, retainAll, size, toArray
-
Methods inherited from class java.util.AbstractSet
equals, hashCode
-
Methods inherited from class java.util.AbstractCollection
containsAll, 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
-
iterator
public org.infinispan.commons.util.CloseableIterator<CacheEntry<K,V>> iterator()
- Specified by:
iteratorin interfaceorg.infinispan.commons.util.CloseableIteratorCollection<CacheEntry<K,V>>- Specified by:
iteratorin interfaceCollection<CacheEntry<K,V>>- Specified by:
iteratorin interfaceIterable<CacheEntry<K,V>>- Specified by:
iteratorin interfaceSet<CacheEntry<K,V>>- Specified by:
iteratorin classAbstractCollection<CacheEntry<K,V>>
-
spliterator
public org.infinispan.commons.util.CloseableSpliterator<CacheEntry<K,V>> spliterator()
- Specified by:
spliteratorin interfaceorg.infinispan.commons.util.CloseableIteratorCollection<CacheEntry<K,V>>- Specified by:
spliteratorin interfaceorg.infinispan.commons.util.CloseableIteratorSet<CacheEntry<K,V>>- Specified by:
spliteratorin interfaceCollection<CacheEntry<K,V>>- Specified by:
spliteratorin interfaceIterable<CacheEntry<K,V>>- Specified by:
spliteratorin interfaceSet<CacheEntry<K,V>>
-
add
public boolean add(CacheEntry<K,V> entry)
- Specified by:
addin interfaceCollection<CacheEntry<K,V>>- Specified by:
addin interfaceSet<CacheEntry<K,V>>- Overrides:
addin classAbstractCollection<CacheEntry<K,V>>
-
addAll
public boolean addAll(Collection<? extends CacheEntry<K,V>> c)
- Specified by:
addAllin interfaceCollection<CacheEntry<K,V>>- Specified by:
addAllin interfaceSet<CacheEntry<K,V>>- Overrides:
addAllin classAbstractCollection<CacheEntry<K,V>>
-
stream
public CacheStream<CacheEntry<K,V>> stream()
- Specified by:
streamin interfaceCacheCollection<CacheEntry<K,V>>- Specified by:
streamin interfaceorg.infinispan.commons.util.CloseableIteratorCollection<CacheEntry<K,V>>- Specified by:
streamin interfaceCollection<CacheEntry<K,V>>
-
parallelStream
public CacheStream<CacheEntry<K,V>> parallelStream()
- Specified by:
parallelStreamin interfaceCacheCollection<CacheEntry<K,V>>- Specified by:
parallelStreamin interfaceorg.infinispan.commons.util.CloseableIteratorCollection<CacheEntry<K,V>>- Specified by:
parallelStreamin interfaceCollection<CacheEntry<K,V>>
-
-