Loading... (original) (raw)
Given a Spliterator returned following stream pipeline:
s.sorted().unordered().spliterator()
it reports SORTED but not ORDERED which does not conform to the the specification of Spliterator.SORTED:
*
A Spliterator that reports {@code SORTED} must also report
* {@code ORDERED}.