protected class SimpleCacheImpl.Values extends AbstractSet<V> implements CacheCollection<V>
Modifier | Constructor and Description |
---|---|
protected |
Values() |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
boolean |
isEmpty() |
CloseableIterator<V> |
iterator() |
CacheStream<V> |
parallelStream() |
boolean |
remove(Object o) |
boolean |
removeAll(Collection<?> c) |
boolean |
retainAll(Collection<?> c) |
int |
size() |
CloseableSpliterator<V> |
spliterator() |
CacheStream<V> |
stream() |
equals, hashCode
add, addAll, contains, containsAll, toArray, toArray, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
localPublisher, localPublisher
add, addAll, contains, containsAll, equals, hashCode, removeIf, toArray, toArray
public boolean retainAll(Collection<?> c)
retainAll
in interface Collection<V>
retainAll
in interface Set<V>
retainAll
in class AbstractCollection<V>
public boolean removeAll(Collection<?> c)
removeAll
in interface Collection<V>
removeAll
in interface Set<V>
removeAll
in class AbstractSet<V>
public boolean remove(Object o)
remove
in interface Collection<V>
remove
in interface Set<V>
remove
in class AbstractCollection<V>
public void clear()
clear
in interface Collection<V>
clear
in interface Set<V>
clear
in class AbstractCollection<V>
public CloseableIterator<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<V>
iterator
in interface Collection<V>
iterator
in interface Set<V>
iterator
in interface CloseableIteratorCollection<V>
iterator
in class AbstractCollection<V>
public CloseableSpliterator<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<V>
spliterator
in interface Collection<V>
spliterator
in interface Set<V>
spliterator
in interface CloseableIteratorCollection<V>
public int size()
size
in interface Collection<V>
size
in interface Set<V>
size
in class AbstractCollection<V>
public boolean isEmpty()
isEmpty
in interface Collection<V>
isEmpty
in interface Set<V>
isEmpty
in class AbstractCollection<V>
public CacheStream<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<V>
stream
in interface CacheCollection<V>
stream
in interface CloseableIteratorCollection<V>
public CacheStream<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<V>
parallelStream
in interface CacheCollection<V>
parallelStream
in interface CloseableIteratorCollection<V>
Copyright © 2021 JBoss by Red Hat. All rights reserved.