Skip to content

Commit

Permalink
doc
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Jun 13, 2017
1 parent 4ad21e2 commit 424ced1
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,12 +145,11 @@ To iterate a collection:
new AllOf(
new TransformedIterable<>(
new ArrayAsIterable<>("how", "are", "you"),
new Func.Quiet<String>() {
@Override
public void exec(final String input) throws Exception {
new ProcAsFunc<>(
input -> {
System.out.printf("Item: %s\n", input);
}
}
)
)
).asValue();
```
Expand All @@ -160,7 +159,9 @@ Or even more compact:
```java
new IterableAsBoolean(
new ArrayAsIterable<>("how", "are", "you"),
(Func.Quiet<String>) i -> System.out.printf("Item: %s\n", i)
new ProcAsFunc<>(
input -> System.out.printf("Item: %s\n", i)

This comment has been minimized.

Copy link
@DronMDF

DronMDF Jun 13, 2017

Contributor

input?

)
).asValue();
```

Expand Down

0 comments on commit 424ced1

Please sign in to comment.