public class ObjectUtils extends Object
| Constructor and Description |
|---|
ObjectUtils() |
| Modifier and Type | Method and Description |
|---|---|
static Object |
deepCopy(Object o)
Creates a deep copy of the given object (must be serializable!).
|
static String |
flatten(List lines,
String sep)
Flattens the list into a single, long string.
|
static String |
flatten(Object[] lines,
String sep)
Flattens the array into a single, long string.
|
public static String flatten(List lines, String sep)
lines - the lines to flattensep - the separatorpublic static String flatten(Object[] lines, String sep)
lines - the lines to flattensep - the separatorCopyright © 2017. All Rights Reserved.