Skip to content

Commit 1285bc9

Browse files
committed
Update README.md.
1 parent a0775da commit 1285bc9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -955,7 +955,7 @@ for (var credit : credits) {
955955
`ElementAdapter` also supports `put()` and `remove()` for modifying an element's contents.
956956

957957
## Pipe
958-
The `Pipe` class provides a vehicle by which a producer thread can submit a sequence of elements for retrieval by a consumer thread. It implements the `Iterable` interface and returns values as they become available, blocking if necessary.
958+
The `Pipe` class provides a vehicle by which a producer thread can submit a sequence of values for retrieval by a consumer thread. It implements the `Iterable` interface and returns elements as they become available, blocking if necessary.
959959

960960
For example, the following code executes a SQL query that retrieves all rows from an `employees` table:
961961

@@ -1134,7 +1134,7 @@ var number = cast("abc", Double.class); // null
11341134
```
11351135

11361136
## Iterables
1137-
The `Iterables` class contains methods for working with iterable types:
1137+
The `Iterables` class contains methods for processing a sequence of values:
11381138

11391139
```java
11401140
public static <T> Iterable<T> filter(Iterable<T> iterable, Predicate<? super T> predicate) { ... }

0 commit comments

Comments
 (0)