🌈 搜索
📅  最后修改于: 2022-03-11 14:52:46.905000             🧑  作者: Mango
List list = Arrays.asList("foo", "bar"); or in Java 9 List list = List.of("foo", "bar", "baz");