![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Apache common 工具类介绍
谜一样的自信
这个作者很懒,什么都没留下…
展开
-
ArrayUtils
// 1.打印数组ArrayUtils.toString(newint[] { 1, 4, 2, 3 });// {1,4,2,3}ArrayUtils.toString(new Integer[] { 1, 4, 2, 3 });// {1,4,2,3}ArrayUtils.toString(null, "I'm nothing!");// I'm nothing!// 2.判断两个数组是否相等...转载 2018-07-02 13:15:33 · 225 阅读 · 0 评论 -
StringUtils
判空函数1)StringUtils.isEmpty(String str)2)StringUtils.isNotEmpty(String str)3)StringUtils.isBlank(String str)4)StringUtils.isNotBlank(String str)5)StringUtils.isAnyBlank(CharSequence… css)6)StringUtils.i...原创 2018-07-02 13:26:33 · 230 阅读 · 0 评论 -
CollectionUtils
1. CollectionUtils 并 交 补 @Test public void test3() { List<Integer> h = new ArrayList<Integer>(); h.add(1); h.add(2); h.add(3); h.add(6); ...转载 2018-07-02 14:13:57 · 703 阅读 · 0 评论