Java 8 Stream intermediate operations return another Stream which allows you to call multiple operations in the form of a query.
Stream intermediate operations do not get executed until a terminal operation is invoked.
All Intermediate operations are lazy, so they’re not executed until a result of processing is actually needed.
Traversal of the Stream does not begin until the terminal operation of the pipeline is executed.
Here is the list of all Stream intermediate operations:
filter()
map()
flatMap()
distinct()
sorted()
peek()
limit()
skip(
Nesta página do site você pode assistir ao vídeo on-line Java8 13 Intermediate Operation in Java8 Peek,distinct,skip duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário codeWithVenky 01 Janeiro 1970, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 83 vezes e gostou 6 espectadores. Boa visualização!