MCPcopy Index your code
hub / github.com/benfry/processing4 / join

Method join

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

Source from the content-addressed store, hash-verified

799
800
801 public String join(String separator) {
802 if (count == 0) {
803 return "";
804 }
805 StringBuilder sb = new StringBuilder();
806 sb.append(data[0]);
807 for (int i = 1; i < count; i++) {
808 sb.append(separator);
809 sb.append(data[i]);
810 }
811 return sb.toString();
812 }
813
814
815 public void print() {

Callers 1

toJSONMethod · 0.95

Calls 2

appendMethod · 0.45
toStringMethod · 0.45

Tested by

no test coverage detected