blob: f1bf03fc5751e6fc5c03940c854a94a30fad5287 [file]
// "Replace with 'peek'" "true"
import java.util.List;
public class Main {
void test(List<String> list) {
long count = list.stream()
.ma<caret>p(e -> {
System.out.println(e);
// hello
return /* in return */ e;
})
.count();
System.out.println(count);
}
}