RFR: 8153293 - Stream API: Preserve SORTED and DISTINCT characteristics for boxed() and asLongStream() operations
spliterator at gmail.com
Tue Apr 12 20:30:16 UTC 2016
thanks! Looks fine to me now - especially the new testSortDistinct() methods.
But note: I'm only a participant, not a reviewer of any sort.
2016-04-12 18:37 GMT+02:00 Tagir F. Valeev <amaembo at gmail.com>:
> Thank you, Stefan and Paul for review. Here's updated webrev:
> - all new mapToObj are private and not final
> - IntStream.asDoubleStream preserves distinct now
> - Tests fixed according to Stefan's suggestions
> - Additional tests added which test how sorted and distinct actually
> work, as Paul suggests. Values close to Integer.MAX_VALUE and Long.MAX_VALUE
> are tested. TreeSet<Long> and TreeSet<Double> is used to produce
> expected result.
> With best regards,
> Tagir Valeev.
More information about the core-libs-dev