code: public static <T extends Comparable<? super T>> Collector<T, ?, Optional<Long>> denseRank(T value) {
          return denseRankBy(value, t -> t, naturalOrder());
      }
docs: Get a {@link Collector} that calculates the <code>DENSE_RANK()</code> function given natural ordering.