default OptionalLong indexOf(Predicate<? super T> predicate) {
        return SeqUtils.indexOf(iterator(), predicate);
    }
Get the index of the first element from the stream matching given predicate.
jOOL/src/main/java/org/jooq/lambda/Seq.java