13 lines
377 B
Java
13 lines
377 B
Java
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());
|
|
}
|
|
} |