From d8609b5560c81a32e88665bd58beb063009aae19 Mon Sep 17 00:00:00 2001 From: CyberCore1010 <39372030+CyberCore1010@users.noreply.github.com> Date: Thu, 22 Nov 2018 08:49:05 +0000 Subject: [PATCH] Specified that the stream api isn't technically a lambda (#23161) * Specified that the stream api isn't technically a lambda * Cleaned up statement --- guide/english/java/lambda-expressions/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guide/english/java/lambda-expressions/index.md b/guide/english/java/lambda-expressions/index.md index 047f67d15b..bffc92ce63 100644 --- a/guide/english/java/lambda-expressions/index.md +++ b/guide/english/java/lambda-expressions/index.md @@ -24,7 +24,7 @@ A lambda expression is composed of three parts — function parameters, the `->` The `Stream` API was also introduced in Java 8, and can be used to allow chaining of sequential and aggregate operations. Stream operations are either intermediate or terminal in nature. -Normally, the Stream API is used in conjunction with lambda expressions to produce concise code. +The stream API isn't technically a lambda function, but is used in conjunction with lambda expressions to produce concise code. In this small example you can see that one of the utilities of a stream is to receive a certain property of all objects in a list and return it in another list using intermediate and terminal operations.