04 2022 档案

摘要:String candidate = "this is a test, A TEST."; String regex = "[a-zA-Z]+"; Pattern p = Pattern.compile(regex); Matcher m = p.matcher(candidate); 阅读全文
posted @ 2022-04-10 20:15 启豪 阅读(85) 评论(0) 推荐(0) 编辑
摘要:public static void main(String[] args) { Map<String, Integer> map = new HashMap(); map.put("13213", 8); Set<String> set=map.keySet(); map.entrySet(); 阅读全文
posted @ 2022-04-10 20:12 启豪 阅读(589) 评论(0) 推荐(0) 编辑
摘要:Arrays.copyof() int[] copied = Arrays.copyOf(arr, 10); //10 the the length of the new array System.out.println(Arrays.toString(copied)); copied = Arra 阅读全文
posted @ 2022-04-07 20:40 启豪 阅读(51) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示