摘要: Spring 支持使用@Autowired, @Resource, @Inject 三个注解进行依赖注入。 @Autowired @Autowired为Spring 框架提供的注解,需要导入包org.springframework.beans.factory.annotation.Autowired 阅读全文
posted @ 2021-06-05 23:24 KLAPT 阅读(315) 评论(0) 推荐(0)
摘要: 使用 Iterator 遍历 HashMap EntrySet 使用 Iterator 遍历 HashMap KeySet 使用 For-each 循环迭代 HashMap 使用 Lambda 表达式遍历 HashMap 使用 Stream API 遍历 HashMap 1. 使用 Iterator 阅读全文
posted @ 2021-06-05 00:57 KLAPT 阅读(298) 评论(0) 推荐(0)
摘要: site 语法:site 作用:限定在特定的网址中搜索 filetype 语法:filetype 作用:搜索特定的文件类型 inurl 语法:inurl 作用:在URL中搜索出现指定内容的链接 intitle 语法:intitle 作用:在网页title中搜索出现指定内容的网页 intext 语法: 阅读全文
posted @ 2021-06-05 00:48 KLAPT 阅读(441) 评论(0) 推荐(0)