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

Method getOrder

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

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

()

Source from the content-addressed store, hash-verified

731
732 /** Create a dictionary associating each entry in this list to its index. */
733 public IntDict getOrder() {
734 IntDict outgoing = new IntDict();
735 for (int i = 0; i < count; i++) {
736 outgoing.set(data[i], i);
737 }
738 return outgoing;
739 }
740
741
742 public String join(String separator) {

Callers 1

getOrderMethod · 0.95

Calls 1

setMethod · 0.95

Tested by

no test coverage detected