摘要: springboot启动类添加@EnableSwagger2注解 ​ Controller类上添加@Api注解 ​ Controller类方法上添加注解@ApiOperation ​ http://127.0.0.1:8080/swagger-ui.html#! 阅读全文
posted @ 2018-12-17 10:50 HaniLucky 阅读(155) 评论(0) 推荐(0) 编辑
摘要: 面试高频面试题 1.hashMap和hashTable的区别 hashMap支持null键和null值,hashTable不支持null键和null值. hashMap对null值做了特殊处理,当出现null值的时候会将hashCode设为0. hashMap初始值为16,每次扩容为之前的2倍,ha 阅读全文
posted @ 2018-12-17 09:37 HaniLucky 阅读(117) 评论(0) 推荐(0) 编辑