![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Java
文章平均质量分 59
和风自来
这个作者很懒,什么都没留下…
展开
-
lang3包中常用的字符串处理工具
//预设了一些字符串常量,可以直接用 private static final int STRING_BUILDER_SIZE = 256; public static final String SPACE = " "; public static final String EMPTY = ""; public static final String LF = "\n"; public static final String CR = "\r"; //判断字符串中是否包含某个字符串(方法比较多不一一列举.原创 2021-10-17 16:42:16 · 273 阅读 · 0 评论 -
JDK1.8的Stream详细使用教程
为什么需要 Stream Stream 作为 Java 8 的一大亮点,它与 java.io 包里的 InputStream 和 OutputStream 是完全不同的概念。它也不同于 StAX 对 XML 解析的 Stream,也不是 Amazon Kinesis 对大数据实时处理的 Stream。Java 8 中的 Stream 是对集合(Collection)对象功能的增强,它专注于对集合对象进行各种非常便利、高效的聚合操作(aggregate operation),或者大批量数据操作 (bulk转载 2021-10-17 16:37:06 · 1148 阅读 · 0 评论