protected class SimpleCacheImpl.CacheEntrySet extends SimpleCacheImpl.EntrySetBase<CacheEntry<K,V>> implements CacheSet<CacheEntry<K,V>>
Modifier | Constructor and Description |
---|---|
protected |
CacheEntrySet() |
Modifier and Type | Method and Description |
---|---|
boolean |
add(CacheEntry<K,V> entry) |
boolean |
addAll(Collection<? extends CacheEntry<K,V>> c) |
CloseableIterator<CacheEntry<K,V>> |
iterator() |
CacheStream<CacheEntry<K,V>> |
parallelStream() |
CloseableSpliterator<CacheEntry<K,V>> |
spliterator() |
CacheStream<CacheEntry<K,V>> |
stream() |
clear, contains, isEmpty, remove, removeAll, retainAll, size, toArray
equals, hashCode
containsAll, toArray, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
localPublisher, localPublisher
clear, contains, containsAll, equals, hashCode, isEmpty, remove, removeAll, retainAll, size, toArray, toArray
removeIf
public CloseableIterator<CacheEntry<K,V>> iterator()
CloseableIteratorCollection
This iterator should be explicitly closed when iteration upon it is completed. Failure to do so could cause resources to not be freed properly
iterator
in interface Iterable<CacheEntry<K,V>>
iterator
in interface Collection<CacheEntry<K,V>>
iterator
in interface Set<CacheEntry<K,V>>
iterator
in interface CloseableIteratorCollection<CacheEntry<K,V>>
iterator
in class AbstractCollection<CacheEntry<K,V>>
public CloseableSpliterator<CacheEntry<K,V>> spliterator()
CloseableIteratorCollection
This spliterator should be explicitly closed after it has been used. Failure to do so could cause resources to not be freed properly
spliterator
in interface Iterable<CacheEntry<K,V>>
spliterator
in interface Collection<CacheEntry<K,V>>
spliterator
in interface Set<CacheEntry<K,V>>
spliterator
in interface CloseableIteratorCollection<CacheEntry<K,V>>
spliterator
in interface CloseableIteratorSet<CacheEntry<K,V>>
public boolean add(CacheEntry<K,V> entry)
add
in interface Collection<CacheEntry<K,V>>
add
in interface Set<CacheEntry<K,V>>
add
in class AbstractCollection<CacheEntry<K,V>>
public boolean addAll(Collection<? extends CacheEntry<K,V>> c)
addAll
in interface Collection<CacheEntry<K,V>>
addAll
in interface Set<CacheEntry<K,V>>
addAll
in class AbstractCollection<CacheEntry<K,V>>
public CacheStream<CacheEntry<K,V>> stream()
CloseableIteratorCollection
This stream should be explicitly closed after it has been used. Failure to do so could cause resources to not be freed properly
stream
in interface Collection<CacheEntry<K,V>>
stream
in interface CacheCollection<CacheEntry<K,V>>
stream
in interface CloseableIteratorCollection<CacheEntry<K,V>>
public CacheStream<CacheEntry<K,V>> parallelStream()
CloseableIteratorCollection
This stream should be explicitly closed after it has been used. Failure to do so could cause resources to not be freed properly
parallelStream
in interface Collection<CacheEntry<K,V>>
parallelStream
in interface CacheCollection<CacheEntry<K,V>>
parallelStream
in interface CloseableIteratorCollection<CacheEntry<K,V>>
Copyright © 2021 JBoss by Red Hat. All rights reserved.