Please enable JavaScript.
Coggle requires JavaScript to display documents.
streams - Coggle Diagram
streams
what
Data processing operations
Pipelining
Source
Internal iteration
Sequence of elements
Concepts
demand-driven or just-in-time
Traversable only once
internal iteration
TYPES
stream
parallel
DATA PROCESSING
EXTRACTING OR MAPPING
TRUNCATING
FILTERING
SLICING
MATCHING
REDUCING
FLATTENING STREAMS
flatMap
Example
List of String Arrays
flat to
list of Strings
Array::stream
state
Statefull
Stateless
Operations
INTERMEDIATE
Example
map
sorted
filter
limit
distinct
SKIP
features
returns
stream value
merge
Pipeline
idea
builder pattern
TERMINAL
Example
Count
Collect
foreach
features
returns
non stream value
INT
BOOLEAN
VOID
OBJECT