commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alice Boxhall <>
Subject [Collections] MultiHashMap - retrieving values in the order in which they were added
Date Fri, 12 Aug 2005 01:04:52 GMT
Hello all,

Just a quick question re MultiHashMap:
For my current project I need to be able to ensure that if I do

map.put("foo", a);
map.put("foo", b);

I will get a and b back in that order. Obviously with the current 
implementation this will be the case, but I was wondering if there was 
some way that I could ensure that in case the implementation changes.

If not, no big deal, I can easily work around it.



To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message