2022年4月28日

java 中使用正则

摘要: var str = "a222b333c"; var matcher = Pattern.compile("\\d+").matcher(str); while(matcher.find()) { //输出匹配到数据 System.out.println(matcher.group()); //拿到 阅读全文

posted @ 2022-04-28 16:06 空明流光 阅读(128) 评论(0) 推荐(0)

java 中使用 tuple

摘要: java 中默认没有 tupple, 写惯了其它语言,很不习惯 引入以下jar包 <dependency> <groupId>com.othelle.jtuples</groupId> <artifactId>jtuples</artifactId> <version>0.1.3</version> 阅读全文

posted @ 2022-04-28 15:01 空明流光 阅读(3084) 评论(0) 推荐(0)

导航