mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-17 07:20:53 +07:00
8 lines
199 B
Java
8 lines
199 B
Java
import java.util.List;
|
|
|
|
public class StreamExtract {
|
|
void test(List<String> list) {
|
|
list.stream().mapToInt(x -> x.length() + 10 * x.l<caret>ength()).forEach(System.out::println);
|
|
}
|
|
}
|