2023年10月12日

Java 1.8 list特性用法

摘要: list转换成具体的字符串拼接 @Test public void ListToString() { // 构造list List<String> list = Arrays.asList("张三", "李四", "王五", "赵六"); // 以逗号分隔,带前缀后缀 String str1 = l 阅读全文

posted @ 2023-10-12 16:58 lewisat 阅读(18) 评论(0) 推荐(0) 编辑

导航