Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit de8fa2d

Browse files
Merge pull request #2 from mastersimon/patch-1
Fix copy paste is mistake
2 parents ddd0b7f + 9d4f0ff commit de8fa2d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎02-lambdas.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ Predicate<String> namesStartingWithS = name -> name.startsWith("s");
198198

199199
### java.util.function.Consumer<T>
200200

201-
This functional interface is used for performing actions which does not produce any output. Predicate interface has one method called `accept` which takes a value of type `T` and return nothing i.e. it is void. For example, sending an email with given message.
201+
This functional interface is used for performing actions which does not produce any output. Consumer interface has one method called `accept` which takes a value of type `T` and return nothing i.e. it is void. For example, sending an email with given message.
202202

203203
```java
204204
Consumer<String> messageConsumer = message -> System.out.println(message);

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /