mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-10 09:39:37 +07:00
9 lines
215 B
Java
9 lines
215 B
Java
// "Replace with toArray" "true"
|
|
import java.util.*;
|
|
|
|
public class Test {
|
|
Object[] test(List<String[]> list) {
|
|
return list.stream().filter(Objects::nonNull).flatMap(Arrays::stream).sorted().toArray();
|
|
}
|
|
}
|