protected class SimpleCacheImpl.KeySet extends AbstractSet<K> implements CacheSet<K>
| Modifier | Constructor and Description |
|---|---|
protected |
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() |
CloseableSpliterator<K> |
spliterator() |
CacheStream<K> |
stream() |
equals, hashCodeadd, addAll, contains, containsAll, toArray, toArray, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitlocalPublisher, localPublisheradd, addAll, contains, containsAll, equals, hashCode, toArray, toArrayremoveIfpublic boolean retainAll(Collection<?> c)
retainAll in interface Collection<K>retainAll in interface Set<K>retainAll in class AbstractCollection<K>public boolean remove(Object o)
remove in interface Collection<K>remove in interface Set<K>remove in class AbstractCollection<K>public boolean removeAll(Collection<?> c)
removeAll in interface Collection<K>removeAll in interface Set<K>removeAll in class AbstractSet<K>public void clear()
clear in interface Collection<K>clear in interface Set<K>clear in class AbstractCollection<K>public CloseableIterator<K> iterator()
CloseableIteratorCollectionThis 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<K>iterator in interface Collection<K>iterator in interface Set<K>iterator in interface CloseableIteratorCollection<K>iterator in class AbstractCollection<K>public CloseableSpliterator<K> spliterator()
CloseableIteratorCollectionThis 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<K>spliterator in interface Collection<K>spliterator in interface Set<K>spliterator in interface CloseableIteratorCollection<K>spliterator in interface CloseableIteratorSet<K>public int size()
size in interface Collection<K>size in interface Set<K>size in class AbstractCollection<K>public boolean isEmpty()
isEmpty in interface Collection<K>isEmpty in interface Set<K>isEmpty in class AbstractCollection<K>public CacheStream<K> stream()
CloseableIteratorCollectionThis 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<K>stream in interface CacheCollection<K>stream in interface CloseableIteratorCollection<K>public CacheStream<K> parallelStream()
CloseableIteratorCollectionThis 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<K>parallelStream in interface CacheCollection<K>parallelStream in interface CloseableIteratorCollection<K>Copyright © 2021 JBoss by Red Hat. All rights reserved.