Hi Stuart, On 08/21/2018 07:43 AM, Stuart Marks wrote:
2. Characteristics- UNORDERED: should the returned collector be UNORDERED if *either* of the provided collectors is UNORDERED? (Current draft says *both*.)
I think *both* is the right behavior. If you are collecting: teeingAndThen( Collectors.toList(), Collectors.toSet(), Map::entry )...then you might want the returned List part of result to respect encounter order regardless of the returned Set part which doesn't.
Regards, Peter