public final String toString() { IStringBuilder isb = IStringBuilder.newStringBuilder(); isb.addDouble(_value); final String s = isb.getString(); if (isb != null) isb.dispose(); return s; }
public final String description() { IStringBuilder isb = IStringBuilder.newStringBuilder(); isb.addString("double/"); isb.addDouble(_value); final String s = isb.getString(); if (isb != null) isb.dispose(); return s; }
public final String description() { IStringBuilder isb = IStringBuilder.newStringBuilder(); isb.addString("{"); java.util.ArrayList<String> keys = this.keys(); int keysCount = keys.size(); if (keysCount > 0) { putKeyAndValueDescription(keys.get(0), isb); for (int i = 1; i < keysCount; i++) { isb.addString(", "); putKeyAndValueDescription(keys.get(i), isb); } } isb.addString("}"); final String s = isb.getString(); if (isb != null) isb.dispose(); return s; }
private void putKeyAndValueDescription(String key, IStringBuilder isb) { isb.addString("\""); isb.addString(key); isb.addString("\":"); isb.addString(get(key).description()); }