Kbuckets: Debug output tweak

This commit is contained in:
zzz
2024-04-11 08:45:10 -04:00
parent 1a5a32dd49
commit 59be0ecab7

View File

@@ -143,7 +143,9 @@ class KBucketImpl<T extends SimpleDataStructure> implements KBucket<T> {
public String toString() {
StringBuilder buf = new StringBuilder(1024);
buf.append(_entries.size());
buf.append(" entries in (").append(_begin).append(',').append(_end);
buf.append(" entries in (").append(_begin);
if (_end != _begin)
buf.append('-').append(_end);
buf.append(") : ").append(_entries.toString());
return buf.toString();
}