public class ArrayUtil extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
join(java.lang.String[] array,
java.lang.String delim) |
static java.lang.String |
toString(java.lang.Object array)
Returns a (deep) string representation for the given array or throws an
exception if
array is not an array or null. |
public static java.lang.String toString(java.lang.Object array)
array is not an array or null.
The method returns "null" if the given array is null.
array - the array to return as a stringjava.lang.IllegalArgumentException - if array is not an arrayArrays.deepToString(Object[])public static java.lang.String join(java.lang.String[] array, java.lang.String delim)
Copyright © 2021. All Rights Reserved.