public class CollectionUtil extends Object
Constructor and Description |
---|
CollectionUtil() |
Modifier and Type | Method and Description |
---|---|
static boolean |
equals(Collection left,
Collection right) |
static String |
getKeyList(Collection coll,
String delimiter) |
static String |
getKeyList(Iterator<Collection.Key> it,
String delimiter) |
static boolean |
isEmpty(Map<?,?> map) |
static Collection.Key[] |
keys(Collection coll) |
static String[] |
keysAsString(Collection coll) |
static <T> T |
remove(List<T> list,
int index,
T defaultValue) |
static Collection.Key[] |
toKeys(Set<String> set) |
static Collection.Key[] |
toKeys(String[] strArr,
boolean trim) |
public CollectionUtil()
public static boolean equals(Collection left, Collection right)
public static String getKeyList(Iterator<Collection.Key> it, String delimiter)
public static String getKeyList(Collection coll, String delimiter)
public static Collection.Key[] keys(Collection coll)
public static String[] keysAsString(Collection coll)
public static Collection.Key[] toKeys(String[] strArr, boolean trim)
public static Collection.Key[] toKeys(Set<String> set)
Copyright © 2015 Lucee