Stream API in Java
It can be classify into two operation.
Intermediate operation
Transform a stream into another stream.
Examples: filter, map, distinct, sorted, limit, etc.
Terminal operation
It's provide the result and terminate the stream.
Example: forEach, co...
nsonkar.hashnode.dev2 min read