DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22826>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22826

[collections] List/Set implementation.





------- Additional Comments From [EMAIL PROTECTED]  2003-09-22 20:59 -------
The problem is that it is impossible for both the List and Set interfaces to be 
implemented in one class. Note especially the hashCode and equals. I really 
don't want to add misbehaving classes to [collections].

With ordered set I have provided List-like methods without implementing List.

One possible solution would be a SetList decorator, that implements List but 
acts like a Set. Then users could choose which to use. Maybe the last 
attachment could be used as a basis for this?

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to