MCPcopy Create free account
hub / github.com/ReadyTalk/avian / toString

Method toString

classpath/avian/PersistentSet.java:45–56  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

43 }
44
45 public String toString() {
46 StringBuilder sb = new StringBuilder();
47 sb.append("{");
48 for (java.util.Iterator it = iterator(); it.hasNext();) {
49 sb.append(it.next());
50 if (it.hasNext()) {
51 sb.append(",");
52 }
53 }
54 sb.append("}");
55 return sb.toString();
56 }
57
58 public Comparator<T> comparator() {
59 return comparator;

Callers

nothing calls this directly

Calls 5

appendMethod · 0.95
iteratorMethod · 0.95
toStringMethod · 0.95
hasNextMethod · 0.65
nextMethod · 0.65

Tested by

no test coverage detected