April 2017
Intermediate to advanced
594 pages
25h 15m
English
The main element of this example is Spliterator. This interface defines methods that can be used to process and partition a source of elements to be used, for example, the source of a Stream object. You will rarely need to use a Spliterator object directly. Only if you want a different behavior--that is, if you want to implement your own data structure and create Stream from it--use a Spliterator object.
Spliterator has a set of characteristics that defines its behavior. They are as follows:
Read now
Unlock full access