Overview
Explore advanced Stream API techniques in this 42-minute Java conference talk. Dive into implementing custom spliterators to handle complex data processing patterns beyond standard grouping and accumulation methods. Learn to connect streams to nonstandard data sources and create streams from other streams. Through live coding examples and slides, master the intricacies of the Spliterator API, covering topics from string splitting to computing statistics on shifting windows. Gain insights into creating streamFactory methods, implementing filtering and mapping splitters, handling illegal state exceptions, and properly managing stream resources.
Syllabus
Introduction
Stream API
Who am I
Questions
Bullet Points
StreamFactory
SplitOrator
Create another stream
Filtering splitter method
Adaptive filtering
Repeating splitter
Illegal state exception
Mapping splitter
Calling the closing method
Calling streams on resources
Taught by
Java