[concurrency-interest] Reference/IdentityMap toString
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?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Concurrency-interest