default Optional<T> get(long index) {
        if (index < 0L)
            return Optional.empty();
        else if (index == 0L)
            return findFirst();
        else
            return skip(index).findFirst();
    }
Get a single element from the stream at a given index.
jOOL/src/main/java/org/jooq/lambda/Seq.java