Package org.infinispan.util
Class AbstractDelegatingCacheCollection<E>
- java.lang.Object
-
- org.infinispan.commons.util.AbstractDelegatingCollection<E>
-
- org.infinispan.util.AbstractDelegatingCloseableIteratorCollection<E>
-
- org.infinispan.util.AbstractDelegatingCacheCollection<E>
-
- Type Parameters:
E-
- All Implemented Interfaces:
Iterable<E>,Collection<E>,CacheCollection<E>,CloseableIteratorCollection<E>
- Direct Known Subclasses:
AbstractDelegatingCacheSet
public abstract class AbstractDelegatingCacheCollection<E> extends AbstractDelegatingCloseableIteratorCollection<E> implements CacheCollection<E>
-
-
Constructor Summary
Constructors Constructor Description AbstractDelegatingCacheCollection()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract CacheCollection<E>delegate()CacheStream<E>parallelStream()CacheStream<E>stream()-
Methods inherited from class org.infinispan.util.AbstractDelegatingCloseableIteratorCollection
iterator, spliterator
-
Methods inherited from class org.infinispan.commons.util.AbstractDelegatingCollection
add, addAll, clear, contains, containsAll, forEach, isEmpty, remove, removeAll, removeIf, retainAll, size, toArray, toArray
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.infinispan.commons.util.CloseableIteratorCollection
iterator, spliterator
-
-
-
-
Method Detail
-
delegate
protected abstract CacheCollection<E> delegate()
- Specified by:
delegatein classAbstractDelegatingCloseableIteratorCollection<E>
-
stream
public CacheStream<E> stream()
Description copied from interface:CloseableIteratorCollectionThis stream should be explicitly closed after it has been used. Failure to do so could cause resources to not be freed properly
- Specified by:
streamin interfaceCacheCollection<E>- Specified by:
streamin interfaceCloseableIteratorCollection<E>- Specified by:
streamin interfaceCollection<E>- Overrides:
streamin classAbstractDelegatingCollection<E>
-
parallelStream
public CacheStream<E> parallelStream()
Description copied from interface:CloseableIteratorCollectionThis stream should be explicitly closed after it has been used. Failure to do so could cause resources to not be freed properly
- Specified by:
parallelStreamin interfaceCacheCollection<E>- Specified by:
parallelStreamin interfaceCloseableIteratorCollection<E>- Specified by:
parallelStreamin interfaceCollection<E>- Overrides:
parallelStreamin classAbstractDelegatingCollection<E>
-
-