提交 1b80103c authored 作者: 133's avatar 133

[misc] 添加生成区间

上级 6480dd2d
...@@ -227,4 +227,19 @@ public class DeviceSeqUtil { ...@@ -227,4 +227,19 @@ public class DeviceSeqUtil {
return stringList; return stringList;
} }
/**
* 将连续的序列号组合成一个字符串
* @param strings 序列号区间
* @return 序列号连续组合的区间
*/
public static List<String> getContinuousSeqs(List<String> strings){
List<String> sortedString = strings.stream().sorted().collect(Collectors.toList());
String lastSeq = sortedString.get(0);
for (int i = 0 ;i<sortedString.size();i++){
}
return null;
}
} }
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论