Movatterモバイル変換


[0]ホーム

URL:


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

Commiteca818f

Browse files
committed
Improve description about streaming maps
1 parent851b649 commiteca818f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -535,7 +535,9 @@ As you can see both code snippets are almost identical but the parallel sort is
535535

536536
##Maps
537537

538-
As already mentioned maps don't support streams. Instead maps now support various new and useful methods for doing common tasks.
538+
As already mentioned maps do not directly support streams. There's no`stream()` method available on the`Map` interface itself, however you can create specialized streams upon the keys, values or entries of a map via`map.keySet().stream()`,`map.values().stream()` and`map.entrySet().stream()`.
539+
540+
Furthermore maps support various new and useful methods for doing common tasks.
539541

540542
```java
541543
Map<Integer,String> map=newHashMap<>();

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp