摘要: 代码: package test; import java.util.regex.Matcher; import java.util.regex.Pattern; /** * 去掉数字字符串左边多余的0 * @author hy * */ public class Test7 { public st 阅读全文
posted @ 2021-12-29 22:19 逆火狂飙 阅读(627) 评论(0) 推荐(0)
摘要: 代码: package test; import java.util.regex.Pattern; /** * 判断字符串是否整数的三种方式,孰优孰劣请自行判断 * */ public class Test6 { public static void main(String[] args) { St 阅读全文
posted @ 2021-12-29 22:05 逆火狂飙 阅读(3450) 评论(0) 推荐(0)
摘要: package test; import java.text.SimpleDateFormat; import java.time.LocalDate; import java.time.LocalTime; import java.util.Date; import java.util.Rando 阅读全文
posted @ 2021-12-29 20:59 逆火狂飙 阅读(1500) 评论(0) 推荐(0)