public static int indexOf(String str, String searchStr) { if (str == null || searchStr == null) {
public static int indexOf(String str, char searchChar) { if (isEmpty(str)) {
    public static int indexOf(String str, String searchStr) {        if (str == null || searchStr == null) {            return -1;        }        return str.indexOf(searchStr);    }