E
- public abstract class AbstractDelegatingCacheCollection<E> extends AbstractDelegatingCloseableIteratorCollection<E> implements CacheCollection<E>
Constructor and Description |
---|
AbstractDelegatingCacheCollection() |
Modifier and Type | Method and Description |
---|---|
protected abstract CacheCollection<E> |
delegate() |
CacheStream<E> |
parallelStream() |
CacheStream<E> |
stream() |
iterator, spliterator
add, addAll, clear, contains, containsAll, forEach, isEmpty, remove, removeAll, removeIf, retainAll, size, toArray, toArray
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
localPublisher, localPublisher
iterator, spliterator
protected abstract CacheCollection<E> delegate()
delegate
in class AbstractDelegatingCloseableIteratorCollection<E>
public CacheStream<E> 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<E>
stream
in interface CacheCollection<E>
stream
in interface CloseableIteratorCollection<E>
stream
in class AbstractDelegatingCollection<E>
public CacheStream<E> 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<E>
parallelStream
in interface CacheCollection<E>
parallelStream
in interface CloseableIteratorCollection<E>
parallelStream
in class AbstractDelegatingCollection<E>
Copyright © 2021 JBoss by Red Hat. All rights reserved.