Uses of Interface
org.infinispan.commons.util.CloseableSpliterator
Packages that use CloseableSpliterator
-
Uses of CloseableSpliterator in org.infinispan.commons.util
Classes in org.infinispan.commons.util that implement CloseableSpliteratorModifier and TypeClassDescriptionclass
Spliterator that only returns entries that pass the given predicate.class
SpliteratorMapper<E,
S> A spliterator that has been mapped from another spliterator.Methods in org.infinispan.commons.util that return CloseableSpliteratorModifier and TypeMethodDescriptionCloseableIteratorCollection.spliterator()
CloseableIteratorCollectionAdapter.spliterator()
CloseableIteratorSet.spliterator()
CloseableIteratorSetAdapter.spliterator()
static <T> CloseableSpliterator<T>
Closeables.spliterator
(Spliterator<T> spliterator) Creates a closeable spliterator from the given spliterator that does nothing when close is called.static <R> CloseableSpliterator<R>
Closeables.spliterator
(BaseStream<R, Stream<R>> stream) Creates a closeable spliterator that when closed will close the underlying stream as wellstatic <E> CloseableSpliterator<E>
Closeables.spliterator
(CloseableIterator<? extends E> iterator, long size, int characteristics) Takes a provided closeable iterator and wraps it appropriately so it can be used as a closeable spliterator that will close the iterator when the spliterator is closed.Methods in org.infinispan.commons.util with parameters of type CloseableSpliteratorModifier and TypeMethodDescriptionstatic <E> Stream<E>
Closeables.stream
(CloseableSpliterator<E> spliterator, boolean parallel) Creates a stream that when closed will also close the underlying spliterator