/** * Converts an array of {@link Object Object} to a string Use the value of the * <code>line.separator</code> system property the line separator. * * @param o * the array of objects. * @return String */ public static String arrayToString(final Object[] o) { return arrayToString(o, System.getProperty("line.separator")); }
/** * Default implementation of the {@link java.lang.Object#toString toString() } method that * delegates work to a {@link java.lang.StringBuffer StringBuffer} base version. * * @return String */ public String toString() { StringBuffer s = new StringBuffer(); toString(s); return s.toString(); }
/** * Default implementation of the {@link java.lang.Object#toString toString() } method that * delegates work to a {@link java.lang.StringBuffer StringBuffer} base version. * * @return String */ @Override public String toString() { StringBuilder s = new StringBuilder(); toString(s); return s.toString(); }
/** * Converts an array of {@link Object Object} to a string Use the value of the * <code>line.separator</code> system property the line separator. * * @param o * the array of objects. * @return String */ public static String arrayToString(Object[] o) { return arrayToString(o, System.getProperty("line.separator")); }
/** * Default implementation of the {@link java.lang.Object#toString toString() } method that * delegates work to a {@link java.lang.StringBuffer StringBuffer} base version. * * @return String */ @Override public String toString() { StringBuffer s = new StringBuffer(); toString(s); return s.toString(); }
/** * Converts an array of {@link Object Object} to a string Use the value of the * <code>line.separator</code> system property the line separator. * * @param o * the array of objects. * @return String */ public static String arrayToString(Object[] o) { return arrayToString(o, System.getProperty("line.separator")); }