上一页 1 ··· 24 25 26 27 28 29 30 31 32 ··· 54 下一页
摘要: 转载 https://git-scm.com/book/zh/v2 基础 git init 初始化 git status 检查当前文件状态(查看已被暂存的修改或未被暂存的修改) git status -s 检查当前文件状态(查看已被暂存的修改或未被暂存的修改-简略版) A: 你本地新增的文件(服务器 阅读全文
posted @ 2022-02-22 17:22 夏秋初 阅读(146) 评论(0) 推荐(0)
摘要: 参考 https://www.bilibili.com/video/BV1V4411p7EF?p=9&spm_id_from=pageDriver https://blog.csdn.net/Hubz131/article/details/103096867 https://blog.csdn.ne 阅读全文
posted @ 2022-02-21 22:06 夏秋初 阅读(34) 评论(0) 推荐(0)
摘要: 转载 http://c.biancheng.net/view/1348.html 代码 声明工厂接口 package com.example.study.factory.method.pattern; public interface AbstractFactory { public Abstrac 阅读全文
posted @ 2022-02-21 16:27 夏秋初 阅读(27) 评论(0) 推荐(0)
摘要: 转载 http://c.biancheng.net/view/8385.html 代码 声明工厂 package com.example.study.factory.pattern; public interface SimpleFactory { public Type getType(); pu 阅读全文
posted @ 2022-02-21 15:58 夏秋初 阅读(29) 评论(0) 推荐(0)
摘要: 转自 https://blog.csdn.net/goodlixueyong/article/details/51935526 https://www.runoob.com/design-pattern/singleton-pattern.html(还有多个案例可以参考) 注意 DCL 双检锁 vo 阅读全文
posted @ 2022-02-21 15:12 夏秋初 阅读(27) 评论(0) 推荐(0)
摘要: 参考 B站狂神说 https://zhuanlan.zhihu.com/p/60730622 测试代码 TableName package annontation; import java.lang.annotation.ElementType; import java.lang.annotatio 阅读全文
posted @ 2022-02-16 16:24 夏秋初 阅读(39) 评论(0) 推荐(0)
摘要: 参考 B站狂神说 https://www.cnblogs.com/ysocean/p/6516248.html 提示 反射比直接new要慢,但是能解耦,流行框架用的很多,注解和反射在一起用。 反射也可以获取父类的信息 代码 User 被反射的类代码 package src; public class 阅读全文
posted @ 2022-02-16 14:27 夏秋初 阅读(29) 评论(0) 推荐(0)
摘要: 参考 https://blog.csdn.net/weixin_43249530/article/details/88372179 B站狂神说视频 正文 import java.io.*; import java.lang.reflect.InvocationTargetException; pub 阅读全文
posted @ 2022-02-16 14:00 夏秋初 阅读(231) 评论(0) 推荐(0)
摘要: 参考 https://www.bilibili.com/video/BV1Ai4y1P7Tk?p=106 https://baomidou.com/pages/d357af/ 代码 目录结构 pom.xml <dependency> <groupId>mysql</groupId> <artifac 阅读全文
posted @ 2022-01-28 11:48 夏秋初 阅读(100) 评论(0) 推荐(0)
摘要: let consoleStr = ""; consoleStr += "为寂寞的夜空画上一个月亮"; consoleStr += "把我画在那月亮下面歌唱"; consoleStr += "为冷清的房子画上一扇大窗"; consoleStr += "再画上一张床"; while(true){ con 阅读全文
posted @ 2022-01-25 14:10 夏秋初 阅读(53) 评论(0) 推荐(0)
上一页 1 ··· 24 25 26 27 28 29 30 31 32 ··· 54 下一页