Class IteratorAsSpliterator<T>

java.lang.Object
org.infinispan.stream.impl.spliterators.IteratorAsSpliterator<T>
All Implemented Interfaces:
AutoCloseable, Spliterator<T>, org.infinispan.commons.util.CloseableSpliterator<T>

public class IteratorAsSpliterator<T> extends Object implements org.infinispan.commons.util.CloseableSpliterator<T>
A Spliterator using the provided iterator for supplying values. Splits occur start at the batch size. Each split gets subsequently bigger by increasing by the original split size. The batch size will never become higher than the configured max batch size