commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 29356] - [collection] ListOrderedSet doesn't implements SortedSet
Date Thu, 03 Jun 2004 21:28:36 GMT
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


Mime
View raw message