public String toString() {StringBuilder sb = new StringBuilder();sb.append("dim=");sb.append(dim);sb.append(" path=");sb.append(Arrays.toString(path));sb.append(" value=");sb.append(value);sb.append(" childCount=");sb.append(childCount);sb.append('\n');for(LabelAndValue labelValue : labelValues) {sb.append("  ").append(labelValue).append("\n");}return sb.toString();}
public override string ToString(){StringBuilder sb = new StringBuilder();sb.Append("dim=");sb.Append(Dim);sb.Append(" path=");sb.Append(Arrays.ToString(Path));sb.Append(" value=");if (TypeOfValue == typeof(int)){sb.AppendFormat(CultureInfo.InvariantCulture, "{0:0}", Value); }else{sb.AppendFormat(CultureInfo.InvariantCulture, "{0:0.0#####}", Value); }sb.Append(" childCount=");sb.Append(ChildCount);sb.Append('\n');foreach (LabelAndValue labelValue in LabelValues){sb.Append("  " + labelValue + "\n");}return sb.ToString();}