MCPcopy Create free account
hub / github.com/amazon-ion/ion-java / wrap

Method wrap

src/test/java/com/amazon/ion/ListTest.java:53–68  ·  view source on GitHub ↗
(String... children)

Source from the content-addressed store, hash-verified

51
52
53 @Override
54 protected String wrap(String... children)
55 {
56 StringBuilder buf = new StringBuilder();
57 buf.append('[');
58 if (children != null)
59 {
60 for (String child : children)
61 {
62 buf.append(child);
63 buf.append(',');
64 }
65 }
66 buf.append(']');
67 return buf.toString();
68 }
69
70 @Override
71 protected IonList wrapAndParse(String... children)

Callers 1

wrapAndParseMethod · 0.95

Calls 4

toStringMethod · 0.65
newListMethod · 0.65
appendMethod · 0.45
systemMethod · 0.45

Tested by

no test coverage detected