public class CloneUtils extends java.lang.Object
Constructor and Description |
---|
CloneUtils() |
Modifier and Type | Method and Description |
---|---|
static java.util.List<?> |
cloneList(java.util.List<?> source)
Returns a list containing cloned copies of the items in the source
list.
|
static java.util.Map |
cloneMapValues(java.util.Map source)
Returns a new map that contains the same keys and cloned copied of the
values.
|
public CloneUtils()
public static java.util.List<?> cloneList(java.util.List<?> source)
source
- the source list (null
not permitted).public static java.util.Map cloneMapValues(java.util.Map source)
source
- the source map (null
not permitted).