protected static class DistributionBulkInterceptor.BackingKeySet<K,V> extends AbstractCloseableIteratorCollection<K,K,V> implements CacheSet<K>
Modifier and Type | Field and Description |
---|---|
protected LocalFlagAffectedCommand |
command |
protected CacheSet<CacheEntry<K,V>> |
entrySet |
cache
Constructor and Description |
---|
BackingKeySet(Cache<K,V> cache,
CacheSet<CacheEntry<K,V>> entrySet,
LocalFlagAffectedCommand command) |
Modifier and Type | Method and Description |
---|---|
boolean |
contains(Object o) |
CloseableIterator<K> |
iterator() |
CacheStream<K> |
parallelStream() |
boolean |
remove(Object o) |
CloseableSpliterator<K> |
spliterator() |
CacheStream<K> |
stream() |
clear, isEmpty, removeAll, retainAll, size, toArray, toArray
add, addAll, containsAll, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
add, addAll, clear, containsAll, equals, hashCode, isEmpty, removeAll, retainAll, size, toArray, toArray
removeIf
protected final CacheSet<CacheEntry<K,V>> entrySet
protected final LocalFlagAffectedCommand command
public BackingKeySet(Cache<K,V> cache, CacheSet<CacheEntry<K,V>> entrySet, LocalFlagAffectedCommand command)
public CloseableIterator<K> iterator()
public boolean contains(Object o)
public boolean remove(Object o)
public CloseableSpliterator<K> spliterator()
spliterator
in interface Iterable<K>
spliterator
in interface Collection<K>
spliterator
in interface Set<K>
spliterator
in interface CloseableIteratorCollection<K>
spliterator
in interface CloseableIteratorSet<K>
spliterator
in class AbstractCloseableIteratorCollection<K,K,V>
public CacheStream<K> stream()
stream
in interface Collection<K>
stream
in interface CacheCollection<K>
public CacheStream<K> parallelStream()
parallelStream
in interface Collection<K>
parallelStream
in interface CacheCollection<K>
Copyright © 2018 JBoss, a division of Red Hat. All rights reserved.