public class CollectionUtils
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.Class[] |
EMPTY_CLASS_ARRAY |
static java.lang.Object[] |
EMPTY_OBJECT_ARRAY |
| Constructor and Description |
|---|
CollectionUtils() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
equals(java.util.Map m1,
java.util.Map m2)
Compares the two specified maps for equality.
|
static <T> java.util.Collection<T> |
makeCollection(java.lang.Class<? extends java.util.Collection> type,
T[] elements)
Make a
Collection out of an array. |
public static final java.lang.Object[] EMPTY_OBJECT_ARRAY
public static final java.lang.Class[] EMPTY_CLASS_ARRAY
public static <T> java.util.Collection<T> makeCollection(java.lang.Class<? extends java.util.Collection> type,
T[] elements)
Collection out of an array.type - the type of Collection to make.elements - objects to put into the collection.Collection of the type given in the type argument containing elementspublic static boolean equals(java.util.Map m1,
java.util.Map m2)
Copyright © 2015 WSO2. All Rights Reserved.