harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geir Magnusson Jr <g...@pobox.com>
Subject Re: [classlib] TwoKeyHashMap
Date Sat, 22 Jul 2006 12:38:03 GMT
If it's not being used anywhere, and if no one claims it, +1

(and if it's being used and can be replaced.... +1)

Nathan Beyer wrote:
> I'm all for removing it. The last time I looked through that code I came to
> the same conclusion your questions infer. If I recall correctly, some of the
> actual Map interface methods won't even work correctly if used. Also, I
> believe the actual keys were just Strings, so concatenated Strings could
> even be used.
> 
> -Nathan
> 
>> -----Original Message-----
>> From: Tim Ellison [mailto:t.p.ellison@gmail.com]
>> Sent: Friday, July 21, 2006 11:52 AM
>> To: harmony-dev
>> Subject: [classlib] TwoKeyHashMap
>>
>> Does anyone know why we have a TwoKeyHashMap [1] utility class?
>>
>> I've only looked at it briefly, but I'm left wondering why the author
>> chose to write all that rather than use a regular HashMap with an object
>> that combines the 'TwoKey's?
>>
>> There may be a subtlety I missed.  Anyone know?
>>
>> [1]
>> http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/mod
>> ules/luni/src/main/java/org/apache/harmony/luni/util/TwoKeyHashMap.java?vi
>> ew=co
>>
>> Regards,
>> Tim
>>
>> --
>>
>> Tim Ellison (t.p.ellison@gmail.com)
>> IBM Java technology centre, UK.
>>
>> ---------------------------------------------------------------------
>> Terms of use : http://incubator.apache.org/harmony/mailing.html
>> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
>> For additional commands, e-mail: harmony-dev-help@incubator.apache.org
> 
> 
> ---------------------------------------------------------------------
> Terms of use : http://incubator.apache.org/harmony/mailing.html
> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> For additional commands, e-mail: harmony-dev-help@incubator.apache.org
> 
> 
> 

---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org


Mime
View raw message