[concurrency-interest] Reference/IdentityMap toString

Jason Mehrens jason_mehrens at hotmail.com
Mon Aug 16 22:23:48 EDT 2010

Should the string representation of a map (entries and collection views) describe strictly just the contents or express the equivalence relationship of how the map views its entries? Specificity, since the CustomConcurrentHashMap can be created with an IDENTITY equivalence or EQUALS equivalence it would seem to me that one natural way to express this difference would be to have the map create an identityToString for a key or value when using an IDENTITY equivalence. Is it worth adding another method to CCHM.Equivalence to support custom strings?


Jason Mehrens

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://cs.oswego.edu/pipermail/concurrency-interest/attachments/20100816/0daa3705/attachment.html>

More information about the Concurrency-interest mailing list