JavaCompilerCore/resources/bytecode/javFiles/Bug314.jav

13 lines
377 B
Plaintext
Raw Permalink Normal View History

2024-04-09 12:58:43 +00:00
import java.lang.Integer;
import java.util.List;
import java.util.ArrayList;
import java.util.stream.Stream;
import java.util.function.Predicate;
import java.util.function.Function;
import java.util.stream.Collectors;
public class Bug314 {
public List<Integer> convert(List<Integer> in) {
return in.stream().filter(x -> x > 5).collect(Collectors.toList());
}
}