public int indexOf(String value) {
		for (int i = 0; i < values.length; i++) {
			if (values[i].equals(value)) {
				return i;
			}
		}
		return -1;
	}
Returns the index of the given value in this StringEnum; -1 if the value is not contained
herein.
@param value The value for which to search
@return the index of the given value in this StringEnum; -1 if the value is not contained
        herein.
Ghidra/Framework/Docking/src/main/java/docking/widgets/dialogs/StringChoices.java