MCPcopy Create free account
hub / github.com/rambaut/figtree / findOption

Method findOption

src/figtree/application/Arguments.java:525–533  ·  view source on GitHub ↗
(String label)

Source from the content-addressed store, hash-verified

523 }
524
525 private int findOption(String label) {
526 for (int i = 0; i < options.length; i++) {
527 String l = options[i].label;
528 if ((!caseSensitive && label.equalsIgnoreCase(l)) || label.equals(l)) {
529 return i;
530 }
531 }
532 return -1;
533 }
534
535 private Option[] options = null;
536

Callers 6

hasOptionMethod · 0.95
getIntegerOptionMethod · 0.95
getIntegerArrayOptionMethod · 0.95
getRealOptionMethod · 0.95
getRealArrayOptionMethod · 0.95
getStringOptionMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected