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

Method join

core/src/processing/data/FloatList.java:882–893  ·  view source on GitHub ↗
(String separator)

Source from the content-addressed store, hash-verified

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

Callers 1

toJSONMethod · 0.95

Calls 2

appendMethod · 0.45
toStringMethod · 0.45

Tested by

no test coverage detected