摘要: springboot默认加载配置 SpringBoot使用两种全局的配置文件,全局配置文件可以对一些默认配置进行修改。 application.properties application.yml 这两个配置文件使我们springboot启动的时候回默认加载的配置文件。 配置文件放在src/main 阅读全文
posted @ 2019-10-26 10:59 在路上....... 阅读(367) 评论(0) 推荐(0) 编辑
摘要: ArrayList是一个类,这个类有一个数组参数elementData,ArrayList集合中的元素正是保存在这个数组中,它继承了数组查询的高性能,参考第3篇。ArrayList还封装了很多方法,便于对数组中的数据进行操作处理,其中就包括上一篇说的扩容,建议先理解第3篇数组。 扩容原理 在ecli 阅读全文
posted @ 2019-10-26 10:42 在路上....... 阅读(315) 评论(0) 推荐(0) 编辑
摘要: 程序入口 SpringApplication.run(BeautyApplication.class, args); 执行此方法来加载整个SpringBoot的环境。 1. 从哪儿开始? SpringApplication.java /** * Run the Spring application, 阅读全文
posted @ 2019-10-26 10:14 在路上....... 阅读(351) 评论(0) 推荐(0) 编辑