MCPcopy Index your code
hub / github.com/adblockplus/adblockplusandroid / indexOf

Method indexOf

src/sunlabs/brazil/util/StringMap.java:511–522  ·  view source on GitHub ↗
(String key)

Source from the content-addressed store, hash-verified

509 }
510
511 private int
512 indexOf(String key)
513 {
514 int length = keys.size();
515 for (int i = 0; i < length; i++) {
516 String got = (String) keys.elementAt(i);
517 if (key.equalsIgnoreCase(got)) {
518 return i;
519 }
520 }
521 return -1;
522 }
523
524 /**
525 * Append another Stringmap onto this one.

Callers 15

getMethod · 0.95
putMethod · 0.95
removeMethod · 0.95
callerMethod · 0.45
getRequestMethod · 0.45
addHeaderMethod · 0.45
runMethod · 0.45
getPropertyMethod · 0.45
decodeMethod · 0.45
matchMethod · 0.45
urlDecodeMethod · 0.45
formatTimeMethod · 0.45

Calls 2

equalsIgnoreCaseMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected