Functional Programming - Terminal Operations
About
Terminal operations return one value by combining the contents of a stream.
| Type | Example |
|---|---|
| reduction operation | average, sum, min, max, and count |
| Collect | collect the stream in a collection |
Terminal operations return one value by combining the contents of a stream.
| Type | Example |
|---|---|
| reduction operation | average, sum, min, max, and count |
| Collect | collect the stream in a collection |