commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Shifman <mark.shif...@yale.edu>
Subject [Collections] MultiKeyMap vs concatenating keys that are strings
Date Fri, 21 Oct 2005 18:08:53 GMT
Hi:

If I am building a map with a compound key composed of say 3 strings , 
is there any advantage to using MultiKeyMap over a regular Hash(ed)Map
with the key = key1+"_"+key2+"_"+key3;

speed?..elegance??

thanks in advance
mas

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message