Skip to content

Commit 5c68bd3

Browse files
committed
📝 update stream readme
1 parent e26bfe9 commit 5c68bd3

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

java8-stream/README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -311,12 +311,12 @@ OptionalInt maxAge = list.stream()
311311
| `flatMap` | 中间 | `Stream<R>` | `Function<T, Stream<R>>` | `T -> Stream<R>` |
312312
| `limit` | 中间 | `Stream<T>` | long | |
313313
| `sorted` | 中间 | `Stream<T>` | `Comparator<T>` | `(T, T) -> int` |
314-
| `anyMatch` | 收集 | `boolean` | `Predicate<T>` | `T -> boolean` |
315-
| `noneMatch` | 收集 | `boolean` | `Predicate<T>` | `T -> boolean` |
316-
| `allMatch` | 收集 | `boolean` | `Predicate<T>` | `T -> boolean` |
317-
| `findAny` | 收集 | `Optional<T>` | | |
318-
| `findFirst` | 收集 | `Optional<T>` | | |
319-
| `forEach` | 收集 | `void` | `Consumer<T>` | `T -> void` |
320-
| `collect` | 收集 | `R` | `Collector<T, A, R>` | |
321-
| `reduce` | 收集 | `Optional<T>` | `BinaryOperator<T>` | `(T, T) -> T` |
322-
| `count` | 收集 | `long` | | |
314+
| `anyMatch` | 终端 | `boolean` | `Predicate<T>` | `T -> boolean` |
315+
| `noneMatch` | 终端 | `boolean` | `Predicate<T>` | `T -> boolean` |
316+
| `allMatch` | 终端 | `boolean` | `Predicate<T>` | `T -> boolean` |
317+
| `findAny` | 终端 | `Optional<T>` | | |
318+
| `findFirst` | 终端 | `Optional<T>` | | |
319+
| `forEach` | 终端 | `void` | `Consumer<T>` | `T -> void` |
320+
| `collect` | 终端 | `R` | `Collector<T, A, R>` | |
321+
| `reduce` | 终端 | `Optional<T>` | `BinaryOperator<T>` | `(T, T) -> T` |
322+
| `count` | 终端 | `long` | | |

0 commit comments

Comments
 (0)