commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew M" <and...@oc384.net>
Subject Collections LinkedMap question
Date Fri, 05 Jun 2009 19:02:31 GMT
How does the speed of 

 

Int x = myLinkedMap.indexOf(someObject);

 

compare to using a hashMap like:

 

int x = objectToIndexMap.get(someObject);

 

Thanks

Andrew


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message