commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Torsten Curdt <>
Subject Re: [collections] ListOrdereMap vs LinkedMap
Date Tue, 30 Mar 2004 10:19:58 GMT
Edelson, Justin wrote:
> ListOrderedMap cannot be instantiated directly. Per the Javadocs, it's a
> decorator, not a Map implementation. You get an instance of
> ListOrderedMap by passing an existing Map to
> ListOrderedMap.decorate(Map).
> LinkedMap, however, can be instantiated directly and has similar
> constructors to java.util.HashMap.
> Hope this helps.

Thanks, Justin, that's exactly the only differnce I can see.
(plus the implementation of the Serializable interface)


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

View raw message