摘要:
Pattern p=Pattern.compile("\\d+"); Matcher m=p.matcher("22bb23"); m.find();//返回true Matcher m2=p.matcher("aa2223"); m2.find();//返回true Matcher m3=p.ma 阅读全文
摘要:
1. stream() 函数式编程: a. filter: b. map c. sorted, reversed d. distinct forEach(e->e.setName(e.getName+"zsd")); 目的就是把list的每一项的name属性加上“”zsd“”字符串,变为一个新的值 阅读全文