what 27s a spliterator in java

Solutions on MaxInterview for what 27s a spliterator in java by the best coders in the world

showing results for - "what 27s a spliterator in java"
Ariadna
21 Jul 2020
1public interface Spliterator<T>
2An object for traversing and partitioning elements of a source. The source of elements covered by a Spliterator could be, for example, an array, a Collection, an IO channel, or a generator function.
3A Spliterator may traverse elements individually (tryAdvance()) or sequentially in bulk (forEachRemaining()).