Uses of Interface
org.infinispan.commons.util.CloseableSpliterator
-
Packages that use CloseableSpliterator Package Description org.infinispan.commons.util Commons package providing various utility classes -
-
Uses of CloseableSpliterator in org.infinispan.commons.util
Classes in org.infinispan.commons.util that implement CloseableSpliterator Modifier and Type Class Description class
FilterSpliterator<T>
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 CloseableSpliterator Modifier and Type Method Description CloseableSpliterator<E>
CloseableIteratorCollection. spliterator()
CloseableSpliterator<E>
CloseableIteratorCollectionAdapter. spliterator()
CloseableSpliterator<E>
CloseableIteratorSet. spliterator()
CloseableSpliterator<E>
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 CloseableSpliterator Modifier and Type Method Description static <E> Stream<E>
Closeables. stream(CloseableSpliterator<E> spliterator, boolean parallel)
Creates a stream that when closed will also close the underlying spliterator
-