MergeFilterChainAction: support parentheses

This commit is contained in:
Tagir Valeev
2019-02-08 15:24:53 +07:00
parent e6ca195feb
commit 7a897157f1
3 changed files with 9 additions and 12 deletions
@@ -4,6 +4,6 @@ import java.util.stream.IntStream;
public class Main {
void test() {
System.out.println(IntStream.range(0, 100).filter(x -> x > 20 && x < 50).count());
System.out.println((IntStream.range(0, 100).filter(x -> x > 20 && x < 50)).count());
}
}
@@ -4,6 +4,6 @@ import java.util.stream.IntStream;
public class Main {
void test() {
System.out.println(IntStream.range(0, 100).filter(x -> x > 20).fil<caret>ter(x -> x < 50).count());
System.out.println((IntStream.range(0, 100).filter(x -> x > 20)).fil<caret>ter(x -> x < 50).count());
}
}