(String key)
| 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. |
no test coverage detected