雪洗中关村

导航

09 2019 档案

list 转 map java8
摘要:// Arrays.asList("a:1.0", "b:2.0", "c:3.0") --> Map {a=1.0, b=2.0, c=3.0} Map<String, Double> kvs = new HashMap<>(); Arrays.asList("a:1.0", "b:2.0", "c:3.0") .stream() .map(elem -> elem.split(":")) .f 阅读全文

posted @ 2019-09-25 18:45 雪洗中关村 编辑

数组转字符串 java8
摘要:不带分隔符 list -> string 带分隔符 阅读全文

posted @ 2019-09-25 18:39 雪洗中关村 编辑

maven build失败 (Failure to find io.renren:renren-security:pom:3.2.0 in http://maven.aliyun.com/nexus/content/groups/public/ was cached in the local repository...)
摘要:今天mvn clean package一个子工程(renren-admin)时报错: Failed to execute goal on project renren-admin: Could not resolve dependencies for project io.renren:renren 阅读全文

posted @ 2019-09-21 22:02 雪洗中关村 编辑

点击右上角即可分享
微信分享提示