mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-03 11:47:50 +07:00
8 lines
190 B
Java
8 lines
190 B
Java
import java.util.Arrays;
|
|
|
|
// "Replace with forEach" "true"
|
|
public class Main {
|
|
public void test(int[] arr) {
|
|
Arrays.stream(arr).filter(i -> i > 0).forEach(System.out::println);
|
|
}
|
|
} |