Package org.infinispan.util
Class AbstractDelegatingCloseableIteratorCollection<E>
- java.lang.Object
-
- org.infinispan.commons.util.AbstractDelegatingCollection<E>
-
- org.infinispan.util.AbstractDelegatingCloseableIteratorCollection<E>
-
- Type Parameters:
E- The type in the collection
- All Implemented Interfaces:
Iterable<E>,Collection<E>,org.infinispan.commons.util.CloseableIteratorCollection<E>
- Direct Known Subclasses:
AbstractDelegatingCacheCollection
public abstract class AbstractDelegatingCloseableIteratorCollection<E> extends org.infinispan.commons.util.AbstractDelegatingCollection<E> implements org.infinispan.commons.util.CloseableIteratorCollection<E>Delegating collection that produces closeable iterators and spliterators from the collection returned fromdelegate()method.
-
-
Constructor Summary
Constructors Constructor Description AbstractDelegatingCloseableIteratorCollection()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract org.infinispan.commons.util.CloseableIteratorCollection<E>delegate()org.infinispan.commons.util.CloseableIterator<E>iterator()org.infinispan.commons.util.CloseableSpliterator<E>spliterator()-
Methods inherited from class org.infinispan.commons.util.AbstractDelegatingCollection
add, addAll, clear, contains, containsAll, forEach, isEmpty, parallelStream, remove, removeAll, removeIf, retainAll, size, stream, 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
parallelStream, stream
-
-
-
-
Method Detail
-
delegate
protected abstract org.infinispan.commons.util.CloseableIteratorCollection<E> delegate()
- Specified by:
delegatein classorg.infinispan.commons.util.AbstractDelegatingCollection<E>
-
iterator
public org.infinispan.commons.util.CloseableIterator<E> iterator()
-
spliterator
public org.infinispan.commons.util.CloseableSpliterator<E> spliterator()
- Specified by:
spliteratorin interfaceorg.infinispan.commons.util.CloseableIteratorCollection<E>- Specified by:
spliteratorin interfaceCollection<E>- Specified by:
spliteratorin interfaceIterable<E>- Overrides:
spliteratorin classorg.infinispan.commons.util.AbstractDelegatingCollection<E>
-
-