上一页 1 2 3 4 5 6 7 ··· 10 下一页
摘要: /** * 借助Map来获取listA、listB的不同元素集合 * 注意: 集合A尽量不要使用空集合 * @param listA 集合A * @param listB 集合B * @return list<String> 不同元素集合 */public static List<String> g 阅读全文
posted @ 2024-05-13 10:43 Lee597 阅读(332) 评论(0) 推荐(0)
摘要: public static int randomNumber(int min, int max) { int i = (int) ((Math.random() * min) * (Math.random() * max)); while (i < 4) i = (int) (Math.random 阅读全文
posted @ 2024-05-09 10:29 Lee597 阅读(7) 评论(0) 推荐(0)
摘要: public static Boolean checkPassword(String password) { //数字 final String REG_NUMBER = ".*\\d+.*"; //大写字母 final String REG_UPPERCASE = ".*[A-Z]+.*"; // 阅读全文
posted @ 2024-05-08 16:27 Lee597 阅读(156) 评论(0) 推荐(0)
摘要: //计算两个时间相差的秒数public static long getTime(String startTime, String endTime) throws ParseException { SimpleDateFormat df = new SimpleDateFormat("yyyy-MM- 阅读全文
posted @ 2024-05-08 16:26 Lee597 阅读(271) 评论(0) 推荐(0)
摘要: package 这里写你工具类包存放的地址import java.io.BufferedReader;import java.io.BufferedWriter;import java.io.FileReader;import java.io.FileWriter;import java.io.IO 阅读全文
posted @ 2024-04-28 15:45 Lee597 阅读(21) 评论(0) 推荐(0)
摘要: //region 折叠代码段的功能 xxx 折叠代码段代码 xxx //endregion 阅读全文
posted @ 2024-04-26 10:23 Lee597 阅读(77) 评论(0) 推荐(0)
摘要: @XxxMapping("/xxx") public xxx Xxxx(@Request Map<Object, Object> map){ Set<Object> keys = map.keySet(); Iterator<Object> iterator = keys.iterator(); w 阅读全文
posted @ 2024-04-26 10:17 Lee597 阅读(60) 评论(0) 推荐(0)
摘要: 1、进入MAVEN仓库或者获取本地依赖包 Maven Repository: Search/Browse/Explore (mvnrepository.com) 2、在依赖包文件夹内启动cmd,输入添加jar包的指令 mvn install:install-file -DgroupId=MAVEN中 阅读全文
posted @ 2024-04-12 14:20 Lee597 阅读(202) 评论(0) 推荐(0)
摘要: // 存储开始用时long start = System.currentTimeMillis();//加载要识别的图片File image = new File(srcpath);//设置配置文件夹微视、识别语言、识别模式Tesseract tesseract = new Tesseract();t 阅读全文
posted @ 2024-04-06 19:10 Lee597 阅读(397) 评论(0) 推荐(0)
摘要: 运行程序 VM -DarchetypeCatalog=internal 其他的自己下载最新的maven库,本地仓库,修改国内镜像,配置本地仓库地址即可 阅读全文
posted @ 2024-04-06 16:19 Lee597 阅读(21) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 ··· 10 下一页