public String describeAttributes() {
StringBuilder sb = new StringBuilder();
sb.Append("[");
bool first = true;
foreach (Object key in attributes.Keys) {
if (first) {
first = false;
} else {
sb.Append(", ");
}
sb.Append(key);
sb.Append("==");
sb.Append(attributes[key]);
}
sb.Append("]");
return sb.ToString();
}