mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-18 17:20:54 +07:00
10 lines
267 B
Java
10 lines
267 B
Java
// "Replace Stream API chain with loop" "true-preview"
|
|
|
|
import java.util.stream.Collectors;
|
|
import java.util.stream.Stream;
|
|
|
|
public final class TemplateTest {
|
|
void test() {
|
|
System.out.println(STR."\{Stream.of(1,2,3).<caret>collect(Collectors.toList())}");
|
|
}
|
|
} |