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 Fri, 04 Jun 2004 22:29:16 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





------- Additional Comments From scolebourne@joda.org  2004-06-04 22:29 -------
ListOrderedSet does not currently hold a Comparator as an instance variable, 
nor should it. This class aims to solve the problem of keeping the Set in the 
same order as elements are added.

Looking at the SortedSet interface, the comparator() method is irrelevant, first
() and last() could be supported. The set views head/tail/sub all rely on a 
comparator based ordering.

---------------------------------------------------------------------
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