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);
阅读全文
摘要:public static void main(String[] args) { Map<String, Integer> map = new HashMap(); map.put("13213", 8); Set<String> set=map.keySet(); map.entrySet();
阅读全文
摘要:Arrays.copyof() int[] copied = Arrays.copyOf(arr, 10); //10 the the length of the new array System.out.println(Arrays.toString(copied)); copied = Arra
阅读全文