Search in sources :

Example 1 with ToStringBuilder

use of uk.gov.gchq.gaffer.commonutil.ToStringBuilder in project Gaffer by gchq.

the class Properties method toString.

@Override
public String toString() {
    final ToStringBuilder sb = new ToStringBuilder(this);
    super.forEach((key, value) -> sb.append(key, String.format("<%s>%s", value.getClass().getCanonicalName(), value)));
    return sb.build();
}
Also used : ToStringBuilder(uk.gov.gchq.gaffer.commonutil.ToStringBuilder)

Aggregations

ToStringBuilder (uk.gov.gchq.gaffer.commonutil.ToStringBuilder)1