8485868788899091929394
* display name matches the specified string. */ public int getPosition(String s) { assert (s != null && s.length() > 0); for (int i = 0; i < choices.length; i++) { BreadcrumbItem it = choices[i]; if (s.equals(it.getKey())) return i; } return -1; }