public class CollectionUtils extends Object
Modifier and Type | Method and Description |
---|---|
static List |
getLeftDiff(List list1,
List list2)
返回第一个列表中比第二个多出来的元素
|
static boolean |
isEmpty(Collection<?> collection) |
static boolean |
isEmpty(Map map) |
static boolean |
isNotEmpty(Collection<?> collection) |
static boolean |
isNotEmpty(Map map) |
public static boolean isNotEmpty(Map map)
public static boolean isEmpty(Map map)
public static boolean isNotEmpty(Collection<?> collection)
public static boolean isEmpty(Collection<?> collection)
Copyright © 2014. All Rights Reserved.