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

Method getOrder

core/src/processing/data/StringList.java:752–758  ·  view source on GitHub ↗

Create a dictionary associating each entry in this list to its index.

()

Source from the content-addressed store, hash-verified

750
751 /** Create a dictionary associating each entry in this list to its index. */
752 public IntDict getOrder() {
753 IntDict outgoing = new IntDict();
754 for (int i = 0; i < count; i++) {
755 outgoing.set(data[i], i);
756 }
757 return outgoing;
758 }
759
760
761 public String join(String separator) {

Callers 1

getOrderMethod · 0.95

Calls 1

setMethod · 0.95

Tested by

no test coverage detected