docs: public static <T> T getLast(@javax.annotation.Nonnull final Stream<T> stream) {
      final List<T> collect = stream.collect(Collectors.toList());
      final T last = collect.get(collect.size() - 1);
      return last;
    }