🌈 搜索
📅  最后修改于: 2022-03-11 14:52:34.388000             🧑  作者: Mango
List collect = Arrays.stream(scanner.nextLine().split(" ")) .map(a -> new a.charAt(0)).collect(Collectors.toList());