2022年10月30日
摘要: 函数式编程 注重函数 - 关注对数据进行了什么操作 流 中间操作 去重 authors.stream() .distinct() ; 查询指定匹配 .filter(new Predicate<Author>() { @Override public boolean test(Author autho 阅读全文
posted @ 2022-10-30 14:04 纤 阅读(80) 评论(0) 推荐(0) 编辑
2022年10月12日
摘要: JAVA进阶 1 对象序列化 1.1 对象要序列化要实现Serializable接口 1.2 然后通过ObjectInputStream 对象读入流来读入一个对象 new ObjectOutputStream(new xxOutputStream("")) new的时候传入一个读入流 1.3 需要申 阅读全文
posted @ 2022-10-12 22:36 纤 阅读(28) 评论(0) 推荐(0) 编辑
2022年4月5日
摘要: dijikistra模板 #include <bits/stdc++.h> using namespace std; typedef long long LL; #define el "\n"; #define INF 0x3f3f3f3f #define rep(i, a, b) for (int 阅读全文
posted @ 2022-04-05 19:01 纤 阅读(28) 评论(0) 推荐(1) 编辑
摘要: 因为在tomcat的环境下默认的路径会在tomcat的bin文件夹中,因此需要将路径索引到.class的文件夹 String src = new String(this.getClass().getClassLoader().getResource("/").getPath()+"文件名"); 回来 阅读全文
posted @ 2022-04-05 18:58 纤 阅读(576) 评论(0) 推荐(0) 编辑
2022年3月23日
摘要: 开始没授权用管理员权限访问,在Windows系统下的文件管理下的显示看不到具体的文件大小 进入该文件夹授权,可以看到占用了几十GB的磁盘 问题可能出现在安装的时候 解决办法 开始菜单 找到Sql Server配置管理器 然后关闭这两个服务 阅读全文
posted @ 2022-03-23 11:10 纤 阅读(1240) 评论(1) 推荐(1) 编辑
2022年3月20日
摘要: Spring 引入依赖 junit为测试框架 可以在方法上标注@Test进行直接的测试 <dependencies> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-context</artifactId> 阅读全文
posted @ 2022-03-20 00:16 纤 阅读(28) 评论(0) 推荐(0) 编辑
2022年3月16日
摘要: 大致安装流程 新版本的密码问题 MySql连接出现1251Client does not support authentication protocol requested by server解决方法 安装mysql GPG key过期错误 摘自简书 - CSDN 阅读全文
posted @ 2022-03-16 16:48 纤 阅读(21) 评论(0) 推荐(0) 编辑
2022年1月12日
摘要: git代码仓库 Servlet实现注册 前端相关处理 在Vue框架的methods属性里,写入check函数,对前端传回来的数据用正则表达式进行检查。 绑定表单的单击事件,执行函数check(),因为根据查询的用法,可以实现返回false这个表单就不再提交,经过测试还是会提交,所以只能暂时做成把前端 阅读全文
posted @ 2022-01-12 03:38 纤 阅读(90) 评论(0) 推荐(0) 编辑
2022年1月11日
摘要: JAVA - Web 页面 - html 、 css 、 JavaScript 框架 vue 前端 java程序 - > 数据库 后端 Mysql 添加环境变量 - MYSQL_HOME 添加path %MYSQL_HOME%\bin 配置文件 [mysql] default-character-s 阅读全文
posted @ 2022-01-11 20:04 纤 阅读(44) 评论(0) 推荐(0) 编辑
2021年11月25日
摘要: Mysql 添加环境变量 - MYSQL_HOME 添加path %MYSQL_HOME%\bin 配置文件 [mysql] default-character-set=utf8 [mysql] default-character-set=utf8 [mysqld] character-set-se 阅读全文
posted @ 2021-11-25 22:39 纤 阅读(42) 评论(0) 推荐(1) 编辑