text: public override string ToString(){if (isEmpty()){return "[]";}java.lang.StringBuilder buffer = new java.lang.StringBuilder(size() * 16);buffer.append('[');java.util.Iterator<E> it = iterator();while (it.hasNext()){object next = it.next();if (next != this){buffer.append(next);}else{buffer.append("(this Collection)");}if (it.hasNext()){buffer.append(", ");}}buffer.append(']');return buffer.ToString();}