Uses of Interface
org.infinispan.commons.util.CloseableSpliterator
-
Uses of CloseableSpliterator in org.infinispan.commons.util
Modifier 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.Modifier 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.Modifier and TypeMethodDescriptionstatic <E> Stream
<E> Closeables.stream
(CloseableSpliterator<E> spliterator, boolean parallel) Creates a stream that when closed will also close the underlying spliterator