ExtendedIterator.toSet() documentation states that the elements are to
be returned in order.

But

NiceIterator.asSet() (the static that is, I suspect, used by many
implementations of ExtendedIterator) uses HashSet() in an intermediate
process.  This will change the order to the hash order.  Should this
not be a LinkedHashSet so as to maintain the original order?

-- 
I like: Like Like - The likeliest place on the web
Identity: https://www.identify.nu/[email protected]
LinkedIn: http://www.linkedin.com/in/claudewarren

Reply via email to