摘要: public class ThreadSource implements Runnable{ private String username; private Object lock1 = new Object(); private Object lock2 = new Object(); publ 阅读全文
posted @ 2021-06-18 17:21 文所未闻 阅读(16) 评论(0) 推荐(0) 编辑
摘要: //数据文件路径 String filepath = "文件路径\\ZHK(1).xls";; //定义表名称 String tableName = "表名"; List<TableData> datas = EasyExcelFactory.read(filepath) .excelType(Ex 阅读全文
posted @ 2021-06-05 17:03 文所未闻 阅读(1854) 评论(1) 推荐(0) 编辑
摘要: @Component public class NettyBootstrap implements ApplicationListener<ContextRefreshedEvent> { @Override public void onApplicationEvent(ContextRefresh 阅读全文
posted @ 2021-05-25 17:05 文所未闻 阅读(121) 评论(0) 推荐(0) 编辑
摘要: /** * 二维数组实现 图的邻接矩阵 */ public class DenseGraph { private int n; //图的节点 private int m; //图的边 private boolean directed; //是否为有向图或无向图 private int[][] arr 阅读全文
posted @ 2021-03-26 12:00 文所未闻 阅读(378) 评论(0) 推荐(0) 编辑
摘要: <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-websocket</artifactId> <version>${websocket.version}</version 阅读全文
posted @ 2021-03-13 15:00 文所未闻 阅读(135) 评论(0) 推荐(0) 编辑
摘要: var reg = new RegExp("^[1-9]\\d*$");param.examCount.match(reg) == null 阅读全文
posted @ 2020-11-11 17:35 文所未闻 阅读(2945) 评论(0) 推荐(0) 编辑
摘要: 出现上述错误,mapper的xml文件中出现了中文字符 阅读全文
posted @ 2020-10-17 16:42 文所未闻 阅读(3758) 评论(0) 推荐(0) 编辑
摘要: $("#body").on("click", ".remove", function () { var val = $(this).attr("value"); alert(val);});这里我们需要借助于Jquery中的on()函数 <tbody id="body"> 后端查询出来的数据要填充到 阅读全文
posted @ 2020-09-16 15:56 文所未闻 阅读(765) 评论(0) 推荐(0) 编辑
摘要: /** * https://leetcode-cn.com/problems/remove-linked-list-elements/ * 删除链表中等于给定值 val 的所有节点。 * * 输入: 1->2->6->3->4->5->6, val = 6 * 输出: 1->2->3->4->5 * 阅读全文
posted @ 2020-09-02 21:32 文所未闻 阅读(280) 评论(0) 推荐(0) 编辑
摘要: $ git config --system --unset credential.helper $ git clone -b 分支名 项目git地址 > 拉取某个项目的分支代码 清除本地证书配置,然后在进行项目的拉取,输入用户名和密码即可 阅读全文
posted @ 2020-08-24 20:35 文所未闻 阅读(1344) 评论(0) 推荐(0) 编辑