Streams in the Wild

José Paumard, Consultant, JPEFI The Stream API is the best tool of the JDK for processing data in a clean and efficient way. Still, there are some classic data processing patterns that cannot be implemented with the available methods, such as grouping or accumulating elements. The Stream API was built on the Spliterator API, which can be used to connect streams on nonstandard sources of data and to create streams on other streams. Implementing this interface is not straightforward. This session shows you everything you should know to create your own spliterators, in live coding examples and slides. From the splitting of strings to the computation of statistics on shifting windows, the presentation covers all the aspects of this API.
Back to Top