Package org.infinispan.commons.util
Class CloseableIteratorSetAdapter<E>
java.lang.Object
org.infinispan.commons.util.CloseableIteratorCollectionAdapter<E>
org.infinispan.commons.util.CloseableIteratorSetAdapter<E>
- All Implemented Interfaces:
Iterable<E>,Collection<E>,Set<E>,CloseableIteratorCollection<E>,CloseableIteratorSet<E>
public class CloseableIteratorSetAdapter<E>
extends CloseableIteratorCollectionAdapter<E>
implements CloseableIteratorSet<E>
Adapts
Set to CloseableIteratorSet- Author:
- Radim Vansa <rvansa@redhat.com>
-
Field Summary
Fields inherited from class org.infinispan.commons.util.CloseableIteratorCollectionAdapter
delegate -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.infinispan.commons.util.CloseableIteratorCollectionAdapter
add, addAll, clear, contains, containsAll, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArrayMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.infinispan.commons.util.CloseableIteratorCollection
iterator, parallelStream, streamMethods inherited from interface java.util.Collection
removeIf, toArray
-
Constructor Details
-
CloseableIteratorSetAdapter
-
-
Method Details
-
spliterator
Description copied from interface:CloseableIteratorCollectionThis spliterator should be explicitly closed after it has been used. Failure to do so could cause resources to not be freed properly
- Specified by:
spliteratorin interfaceCloseableIteratorCollection<E>- Specified by:
spliteratorin interfaceCloseableIteratorSet<E>- Specified by:
spliteratorin interfaceCollection<E>- Specified by:
spliteratorin interfaceIterable<E>- Specified by:
spliteratorin interfaceSet<E>- Overrides:
spliteratorin classCloseableIteratorCollectionAdapter<E>
-