public String toString() { StringBuilder bb = new StringBuilder(); bb.append("["); int i = 0; for (PrincessPropertyArrayItem item : list) { bb.append("{").append(item.toString()).append("}"); i++; if (i != list.size()) { bb.append(", "); } } bb.append("]"); return bb.toString(); }