mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-20 11:50:57 +07:00
10 lines
229 B
Java
10 lines
229 B
Java
// "Replace Stream API chain with loop" "true-preview"
|
|
|
|
import java.util.Arrays;
|
|
|
|
public class Test {
|
|
public static void test(String[] arr) {
|
|
Arrays.stream(arr, 1, arr.length - 1).forE<caret>ach(System.out::println);
|
|
}
|
|
}
|