# Functional Programming in Java, Second Edition: Chapter 2 - Point the user to the official 'Stream' JavaDoc

**URL:** <https://forum.devtalk.com/t/functional-programming-in-java-second-edition-chapter-2-point-the-user-to-the-official-stream-javadoc/109822>\
**Category:** PragProg Customers\
**Tags:** book-functional-programming-in-java-second-edition, suggestion\
**Created:** [20 May 2023 07:40 UTC](https://forum.devtalk.com/t/functional-programming-in-java-second-edition-chapter-2-point-the-user-to-the-official-stream-javadoc/109822 "2023-05-20T07:40:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dtonhofer](https://forum.devtalk.com/user_avatar/forum.devtalk.com/dtonhofer/32/3389_2.png) [@dtonhofer](https://forum.devtalk.com/u/dtonhofer)\
**Post date:** [20 May 2023 07:40 UTC](https://forum.devtalk.com/t/functional-programming-in-java-second-edition-chapter-2-point-the-user-to-the-official-stream-javadoc/109822/1 "2023-05-20T07:40:34Z")

</div>

One should refer the user to the official `java.util.stream` package (Stream API) documentation.

First appearance of the API in Java 8 (March 2014):

- [Java 8 java.util.stream](https://docs.oracle.com/javase/8/docs/api/java/util/stream/package-summary.html#package.description)

Description of the API in Java 18 (March 2022), as used for the book examples:

- [Java 18 java.util.stream](https://docs.oracle.com/en/java/javase/18/docs/api/java.base/java/util/stream/package-summary.html)

Latest description that is not “early access” is for Java 20 (March 2023):

- [Java 20 java.util.stream](https://docs.oracle.com/en/java/javase/20/docs/api/java.base/java/util/stream/package-summary.html)

There is a lot of information and caveats that is quite useful to be aware of: Parallelism, non-interference, Stateless behaviors, Side-effects. Ordering,
