protected class SimpleCacheImpl.KeySet extends CloseableIteratorSetAdapter<K> implements CacheSet<K>
delegate
Constructor and Description |
---|
KeySet() |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
boolean |
isEmpty() |
CloseableIterator<K> |
iterator() |
CacheStream<K> |
parallelStream() |
boolean |
remove(Object o) |
boolean |
removeAll(Collection<?> c) |
boolean |
retainAll(Collection<?> c) |
int |
size() |
CacheStream<K> |
stream() |
spliterator
add, addAll, contains, containsAll, toArray, toArray
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
spliterator
add, addAll, contains, containsAll, equals, hashCode, toArray, toArray
removeIf
public boolean retainAll(Collection<?> c)
retainAll
in interface Collection<K>
retainAll
in interface Set<K>
retainAll
in class CloseableIteratorCollectionAdapter<K>
public boolean remove(Object o)
remove
in interface Collection<K>
remove
in interface Set<K>
remove
in class CloseableIteratorCollectionAdapter<K>
public boolean removeAll(Collection<?> c)
removeAll
in interface Collection<K>
removeAll
in interface Set<K>
removeAll
in class CloseableIteratorCollectionAdapter<K>
public void clear()
clear
in interface Collection<K>
clear
in interface Set<K>
clear
in class CloseableIteratorCollectionAdapter<K>
public CloseableIterator<K> iterator()
iterator
in interface Iterable<K>
iterator
in interface Collection<K>
iterator
in interface Set<K>
iterator
in interface CloseableIteratorCollection<K>
iterator
in class CloseableIteratorCollectionAdapter<K>
public int size()
size
in interface Collection<K>
size
in interface Set<K>
size
in class CloseableIteratorCollectionAdapter<K>
public boolean isEmpty()
isEmpty
in interface Collection<K>
isEmpty
in interface Set<K>
isEmpty
in class CloseableIteratorCollectionAdapter<K>
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 © 2023 JBoss, a division of Red Hat. All rights reserved.