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, toArray
Methods inherited from interface org.infinispan.commons.util.CloseableIteratorCollection
iterator, parallelStream, stream
-
Constructor Details
-
CloseableIteratorSetAdapter
-
-
Method Details
-
spliterator
Description copied from interface:CloseableIteratorCollection
This spliterator should be explicitly closed after it has been used. Failure to do so could cause resources to not be freed properly
- Specified by:
spliterator
in interfaceCloseableIteratorCollection<E>
- Specified by:
spliterator
in interfaceCloseableIteratorSet<E>
- Overrides:
spliterator
in classCloseableIteratorCollectionAdapter<E>
-