findNext
Finds the next index where the predicate matches, searching forward from fromIndex (inclusive).
Return
the next matching index, or -1 if no match found
Parameters
fromIndex
the starting index (inclusive)
predicate
the condition to test
Throws
if predicate is null