2020年3月19日

摘要: sqlserver中: Oracle MySQL: 阅读全文
posted @ 2020-03-19 17:27 黑子菜园 阅读(131) 评论(0) 推荐(0) 编辑
摘要: 1、CountDownLatch 等待多线程完成 它的构造函数接收一个int参数作为计数器,想等待N个点,就传入N。 当调用CountDownLatch的countDown()方法时,N就会减1,直至减为0。 使用await()方法等待,当N的值变为0时,执行await的线程继续执行 2、Cycli 阅读全文
posted @ 2020-03-19 11:02 黑子菜园 阅读(153) 评论(0) 推荐(0) 编辑
摘要: Spring启动,查找并加载需要被Spring管理的bean,进行Bean的实例化 Bean实例化后对将Bean的引入和值注入到Bean的属性中(IOC) 如果Bean实现了BeanNameAware接口的话,Spring将Bean的Id传递给setBeanName()方法 如果Bean实现了Bea 阅读全文
posted @ 2020-03-19 10:19 黑子菜园 阅读(166) 评论(0) 推荐(0) 编辑
摘要: 1、要排序的对象类实现Comparable<>接口,重写compareTo()方法 2、使用Comparator匿名内部类实现 1、Class Student implements Comparable<Student >{ //Student 类自己的成员变量(属性),及构造方法 @Overrid 阅读全文
posted @ 2020-03-19 10:03 黑子菜园 阅读(476) 评论(0) 推荐(0) 编辑

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

统计

点击右上角即可分享
微信分享提示