Loading

文章分类 -  java

摘要:https://www.zhihu.com/question/23374078 阅读全文
posted @ 2020-11-19 19:47 水纸杯 阅读(44) 评论(0) 推荐(0)
摘要:https://blog.csdn.net/qq_35211818/article/details/104393496 阅读全文
posted @ 2020-11-18 21:14 水纸杯 阅读(49) 评论(0) 推荐(0)
摘要:https://blog.csdn.net/sinat_37064286/article/details/86537354 阅读全文
posted @ 2020-11-18 20:36 水纸杯 阅读(36) 评论(0) 推荐(0)
摘要:Java8 中 Comparator 接口提供了一些静态方法,可以方便于我们进行排序操作,下面通过例子讲解下如何使用 对整数列表排序(升序) List<Integer> list = Arrays.asList(1, 4, 2, 6, 2, 8); list.sort(Comparator.natu 阅读全文
posted @ 2020-11-17 09:18 水纸杯 阅读(99) 评论(0) 推荐(0)
摘要:spring boot web层基于servlet,servlet的每个request是一个线程 Servlet线程安全问题 阅读全文
posted @ 2020-11-07 15:44 水纸杯 阅读(46) 评论(0) 推荐(0)
摘要:Java并发编程:volatile关键字解析 volatile和synchronized的区别 阅读全文
posted @ 2020-11-06 20:46 水纸杯 阅读(26) 评论(0) 推荐(0)
摘要:https://www.cnblogs.com/ygj0930/p/13563195.html 阅读全文
posted @ 2020-10-27 19:21 水纸杯 阅读(28) 评论(0) 推荐(0)
摘要:https://www.cnblogs.com/skywang12345/p/3324788.html 阅读全文
posted @ 2020-10-13 14:30 水纸杯 阅读(41) 评论(0) 推荐(0)
摘要:https://www.cnblogs.com/mlj007/p/4329650.html 阅读全文
posted @ 2020-10-08 16:37 水纸杯 阅读(57) 评论(0) 推荐(0)
摘要:https://www.cnblogs.com/dolphin0520/p/3811445.html 阅读全文
posted @ 2020-10-08 14:00 水纸杯 阅读(33) 评论(0) 推荐(0)
摘要:1. Array Array(数组)是基于索引(index)的数据结构,它使用索引在数组中搜索和读取数据是很快的。 Array获取数据的时间复杂度是O(1),但是要删除数据却是开销很大,因为这需要重排数组中的所有数据, (因为删除数据以后, 需要把后面所有的数据前移) 缺点: 数组初始化必须指定初始 阅读全文
posted @ 2020-10-04 15:21 水纸杯 阅读(552) 评论(0) 推荐(0)
摘要:Java中int、char和String的相互转换 阅读全文
posted @ 2020-09-30 11:00 水纸杯 阅读(135) 评论(0) 推荐(0)
摘要:String、StringBuffer与StringBuilder的区别 阅读全文
posted @ 2020-09-30 10:44 水纸杯 阅读(130) 评论(0) 推荐(0)