what 27s a spliterator in java

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

we are a community of more than 2 million smartest coders
registration for
employee referral programs
are now open
get referred to google, amazon, flipkart and more
register now
  
pinned-register now
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()).