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

Method join

core/src/processing/data/LongList.java:883–894  ·  view source on GitHub ↗
(String separator)

Source from the content-addressed store, hash-verified

881
882
883 public String join(String separator) {
884 if (count == 0) {
885 return "";
886 }
887 StringBuilder sb = new StringBuilder();
888 sb.append(data[0]);
889 for (int i = 1; i < count; i++) {
890 sb.append(separator);
891 sb.append(data[i]);
892 }
893 return sb.toString();
894 }
895
896
897 public void print() {

Callers 1

toJSONMethod · 0.95

Calls 2

appendMethod · 0.45
toStringMethod · 0.45

Tested by

no test coverage detected