摘要:
//支持:中文、英文、下划线,单独或三者合一: String regex="^[\\u4E00-\\u9FA5A-Za-z0-9_]+$"; if ("Adsf_最大的".matches(regex)) { System.out.println(true); } //输出为:true if ("dd 阅读全文
摘要:
String str[]={"xx","xxx"};if(Arrays.asList(str).contains("valuestr")) 阅读全文
摘要:
{"action","add","aggregate","all","alter","after","and","as","asc","avg","avg_row_length","auto_increment" ,"between","bigint","bit","binary" 阅读全文
摘要:
封装Redis: 一、 application.properties: #过期日期:300秒(5分钟)PitND.expire.pro=300 二、 MainEventHERDMRedis.java: import org.springframework.beans.factory.annotati 阅读全文