List of utility methods to do Object Value Of
String | valueOf(Object[] oarray) Formats an array of objects into a String suitable for output (logging, etc.). StringBuffer sbuf = new StringBuffer("{ "); for (int i = 0; i < oarray.length; ++i) { String stringValue = oarray[i] == null ? "null" : oarray[i].toString(); stringValue = trimToLength(stringValue); if (i > 0) sbuf.append(", "); sbuf.append(stringValue); sbuf.append(" }"); return sbuf.toString(); |