You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2004/06/03 23:28:36 UTC
DO NOT REPLY [Bug 29356] -
[collection] ListOrderedSet doesn't implements SortedSet
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=29356>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=29356
[collection] ListOrderedSet doesn't implements SortedSet
scolebourne@joda.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |WONTFIX
Summary|ListOrderedSet doesn't |[collection] ListOrderedSet
|implements SortedSet |doesn't implements SortedSet
------- Additional Comments From scolebourne@joda.org 2004-06-03 21:28 -------
Yes. Because a SortedSet must be sorted (A-Z or Z-A or 1-100 or some other
sorting order). The iterator returns this sorted order no matter what order the
elements are added in.
ListOrderedSet simply maintains the order in which the elements are added to
the set. The iterator always returns the order of adding the elements.
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org