MCPcopy Index your code
hub / github.com/processing/processing / join

Method join

core/src/processing/data/DoubleList.java:874–885  ·  view source on GitHub ↗
(String separator)

Source from the content-addressed store, hash-verified

872
873
874 public String join(String separator) {
875 if (count == 0) {
876 return "";
877 }
878 StringBuilder sb = new StringBuilder();
879 sb.append(data[0]);
880 for (int i = 1; i < count; i++) {
881 sb.append(separator);
882 sb.append(data[i]);
883 }
884 return sb.toString();
885 }
886
887
888 public void print() {

Callers 1

toJSONMethod · 0.95

Calls 2

appendMethod · 0.45
toStringMethod · 0.45

Tested by

no test coverage detected