摘要: 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 启豪 阅读(77) 评论(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 启豪 阅读(532) 评论(0) 推荐(0) 编辑