RE: ListOrderedMap vs. LinkedHashMap

2006-06-21 Thread Jörg Schaible
[EMAIL PROTECTED] wrote on Wednesday, June 21, 2006 7:37 PM: Hello All - Apologies if this has already been covered. I couldn't find an easy way to search through this mailing list's archives. What is the difference between org.apache.commons.collections.map.ListOrderedMap (from

RE: ListOrderedMap vs. LinkedHashMap

2006-06-21 Thread Marc_Attiyeh
Thanks for the reply. So from a functionality standpoint, they're the same? if i'm developing in 1.5 JDK, then there's no difference for me, right? -Marc Jörg Schaible

RE: ListOrderedMap vs. LinkedHashMap

2006-06-21 Thread Matt Benson
LOM has API extensions that LinkedHashMap can't duplicate. Example: in commons-collections 3.2, put(int, Object, Object) was added to LOM, which allows you to insert a mapping at a particular position. There are others. -Matt --- [EMAIL PROTECTED] wrote: Thanks for the reply. So from a

Re: ListOrderedMap vs. LinkedHashMap

2006-06-21 Thread Stephen Colebourne
ListOrderedMap is a decorator. It can wrap _any_ type of map and make it ordered. Stephen [EMAIL PROTECTED] wrote: Hello All - Apologies if this has already been covered. I couldn't find an easy way to search through this mailing list's archives. What is the difference between