Java Streams Java Streams Tutorial
Introduction
- What Is a Stream
- Streams Features
- Internal Iteration vs. External Iteration
- Sequential vs Parallel
- Imperative vs. Functional
- Intermediate operations Terminal operations
- Ordered Streams vs. unordered Streams
- Streams API Architecture
- BaseStream
- Stream
Create
- Creating Streams
- Create Streams from Values
- Stream Builder
- IntStream from range
- Empty Streams
- Streams from Functions
- Stream.iterate()
- Stream.generate()
- Stream Random
- Streams from Arrays
- Streams from Collections
- Streams from Files
- Streams from Char Sequence
- Streams from Regex
Optional
Operation
- Streams Operations
- Streams Peek
- Streams ForEach
- Streams Map
- Streams flatMap
- Streams Filter
- Streams Reduce
- Map Reduce in parallel
- Streams Reduce without default value
- Numeric Stream Aggregation
- Streams Count
Group
- Collect with Collectors
- Collector interface
- Summary Statistics
- Streams summary statistics
- Numeric Stream summary statistics
- Collect Data to Map
- Join Strings with Collectors
- Grouping Data
- Partitioning Data
- Convert Collector Results