Parcourir la source

更新 '_posts/常用的代码块.md'

aaronwei il y a 5 ans
Parent
commit
90c4f0f486
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      _posts/常用的代码块.md

+ 1 - 0
_posts/常用的代码块.md

@@ -38,6 +38,7 @@ categories: 运维工具
 ### list用stream进行排序
 
 ``` java
+
     //根据单个属性排序
     List<String> stortList = list.stream().sorted().collect(Collectors.toList());
     //根据对象某个属性排序