commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Torsten Curdt <tcu...@vafer.org>
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)

cheers
--
Torsten



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


Mime
View raw message