Re: Fwd: Cleanup patch: Change from Vector/Hashtable to ArrayList/HashMap - Mailing list pgsql-jdbc

From Lew
Subject Re: Fwd: Cleanup patch: Change from Vector/Hashtable to ArrayList/HashMap
Date
Msg-id jop6f5$it0$1@news.albasani.net
Whole thread Raw
In response to Fwd: Cleanup patch: Change from Vector/Hashtable to ArrayList/HashMap  (Luis Flores <luiscamposflores@gmail.com>)
List pgsql-jdbc
Luis Flores wrote:
> So, excluding the example above, it is a good thing to replace Vector by
> List/ArrayList and Hashtable by Map/HashMap.
> In some case LinkedList is better than ArrayList.

Which is exactly why _usage_ of the list should be through the 'List'
interface regardless of the implementation class.

--
Lew
Honi soit qui mal y pense.
http://upload.wikimedia.org/wikipedia/commons/c/cf/Friz.jpg

pgsql-jdbc by date:

Previous
From: Radosław Smogura
Date:
Subject: Re: Fwd: Postgres JDBC, WS and commit
Next
From: Hiroshi Saito
Date:
Subject: Re: Fwd: Cleanup patch: Change from Vector/Hashtable to ArrayList/HashMap