default OptionalLong indexOf(T element) {
        return indexOf(Predicate.isEqual(element));
    }
Get the index of the first element from the stream equal to given element.
jOOL/src/main/java/org/jooq/lambda/Seq.java