12 2021 档案
JAVA获取各种路径
摘要:String path = System.getProperty("user.dir"); // 获取当前项目的实际路径 InputStream is = JwtUtil.class.getResourceAsStream("/application.yml"); // 获取项目配置文件信息(app
阅读全文
Java8 Stream流递归,几行代码搞定遍历树形结构
摘要:https://mp.weixin.qq.com/s/KCpKx1biYEzz6hDTn1mPYQ https://mp.weixin.qq.com/s/e6DdKwjY9tQ9d-pW7XaxmQ https://mp.weixin.qq.com/s/c85xiYsfTideLllyCxlEJw
阅读全文