mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-17 15:50:53 +07:00
11 lines
366 B
Java
11 lines
366 B
Java
// "Inline 'map()' body into the next 'map()' call" "true-preview"
|
|
import java.util.List;
|
|
|
|
public class Main {
|
|
public static void test(List<CharSequence> list) {
|
|
/*before dot*/
|
|
/*after dot*/
|
|
list.stream()
|
|
/*before dot2*/./*after dot2*/map(cs -> /*length!!!*/ cs.subSequence(/*subsequence*/1, 5).length()).forEach(System.out::println);
|
|
}
|
|
} |