private static void mapReduce() {
List<String> list = Arrays.asList("你好", "谢谢", "李白", "白居易", "李清照");
String reuslt = list.stream().reduce((a, b) -> a + ";" + b).orElse(null);
System.out.println(reuslt);
List<User> users = list.stream().filter(a -> a.contains("白")).map(a -> new User(a, 123)).collect(Collectors.toList());
users.forEach(System.out::println);
}