public class CollectionUtils
extends java.lang.Object
Constructor and Description |
---|
CollectionUtils() |
Modifier and Type | Method and Description |
---|---|
static <K,V> java.util.Map<K,V> |
createMap(K[] keys,
V[] values) |
static byte[] |
unboxBytes(java.util.Collection<java.lang.Byte> coll)
Convert a Collection of Bytes to a primitive array byte[].
|
static java.lang.String[][] |
unboxStringArrays(java.util.Collection<java.lang.String[]> coll)
Convert a Collection of Strings[] to a plain array String[][].
|
static java.lang.String[] |
unboxStrings(java.util.Collection<java.lang.String> coll)
Convert a Collection of Strings to a plain array String[].
|
public static <K,V> java.util.Map<K,V> createMap(K[] keys, V[] values)
public static byte[] unboxBytes(java.util.Collection<java.lang.Byte> coll)
public static java.lang.String[] unboxStrings(java.util.Collection<java.lang.String> coll)
public static java.lang.String[][] unboxStringArrays(java.util.Collection<java.lang.String[]> coll)