mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-26 03:51:12 +07:00
9 lines
230 B
Java
9 lines
230 B
Java
// "Replace Stream API chain with loop" "false"
|
|
|
|
import java.util.List;
|
|
|
|
public class Main {
|
|
public void test2(List<? extends CharSequence> list) {
|
|
list.stream().map(String::length).for<caret>Each(System.out::println);
|
|
}
|
|
} |