卜哥歌的头像 ID: 98964734730

卜哥歌

HelloWorld 社区成员

9372812016

文章4
个人网站0
加入社区2024

[JAVA的写法]之List的stream()操作

List里的遍历pmDesignFilespmDesignFiles.stream().map((m)m.setLocalPath(“234234”);returnm;).collect(Collectors.toList());List分组MapengM

[Java的写法]之MD5对字符串签名操作

对字符串签名后,1:长字符串变为32位字符:aacfbe08d042fddd8ee778b148efc9232:只要长字符串内容不变,签名后得到的32位字符不变。适合用来做ID等。privateStringgenKeyId(StringkeyStr)ret