String () { StringBuilder sb = new StringBuilder(); sb.append("[\n"); for (int i = 0; i < myData.length; i += 2) { sb.append(" ").append(asKey(i)).append(": ").append(asValue(i + 1)).append(",\n"); } sb.append("]"); return sb.toString(); }