摘要:
mybatis 查询参数为1000,查询效率可以接受, 超过10000,查询效率就比较慢 阅读全文
摘要:
通过iterator删除 String code_first = "123"; Iterator iterator = list.iterator();while(iterator.hasNext()){ TMP tmp = (TMP) iterator.next(); if(tmp.getCode 阅读全文
摘要:
String str1 = "270026";String str2 = "270001";System.out.println(str1.compareTo(str2)<0?str1:str2); 阅读全文
摘要:
File > Project Structure > Modules > Dependencies > “+” > “JARs or directories...” 阅读全文
摘要:
使用apache的CollectionUtils工具类 String[] arrayA = new String[] { "1", "2", "3", "4"}; String[] arrayB = new String[] { "3", "4", "5", "6" }; List<String> 阅读全文