摘要: List , Set, Queue和Map都是接口,前三个继承至Collection接口,Map为独立接口 一 、Collection:集合的顶层接口,不能被实例化a) 根接口Collection i. 常用子接口 1. List 实现类:ArrayList、Vector、LinkedList 2. 阅读全文
posted @ 2020-02-03 23:22 你我皆牛马 阅读(550) 评论(0) 推荐(0) 编辑
摘要: Spring Security PasswordEncoder 密码校验和密码加密流程 PasswordEncoder 使用 首先我们先来看看一个创建密码编码器工厂方法 org/springframework/security/crypto/factory/PasswordEncoderFactor 阅读全文
posted @ 2020-02-03 22:50 你我皆牛马 阅读(6980) 评论(0) 推荐(1) 编辑
摘要: System.out.print()与System.out.println()与System.out.printf()的差别 1.System.out.print(): 输出不换行,比如: System.out.print("a"); System.out.print("b"); 结果: ab 2. 阅读全文
posted @ 2020-02-03 10:29 你我皆牛马 阅读(1981) 评论(1) 推荐(0) 编辑
摘要: Arrays.fill(Object[ ] arr, Object obj); 向数组中传送一个相同对象。 Arrays.fill(int[ ] arr, int value); 向数组中传送一个相同value。 fill()方法使用参考 声明举例: public static void fill( 阅读全文
posted @ 2020-02-03 09:41 你我皆牛马 阅读(262) 评论(0) 推荐(0) 编辑