|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
org.jcoderz.commons.util.ArraysUtil
public final class ArraysUtil
This class contains a static factory that allows arrays to be viewed as lists.
Method Summary | |
---|---|
static |
toString([] array)
Returns a string representation of the contents of the specified array. |
Methods inherited from class java.lang. |
---|
, , , , , , , , , , |
Method Detail |
---|
public static toString([] array)
The value returned by this method is equal to the value that would be returned by Arrays.asList(a).toString(), unless array is null, in which case "null" is returned.
This method is useful to dump the content of the array in a tracing method, e.g.:
logger.entering(CLASSNAME, "foo(Object[])", ArraysUtil.toString(array));
array
- The array whose string representation to return.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |