Re: Fwd: Cleanup patch: Change from Vector/Hashtable to ArrayList/HashMap

Поиск
Список
Период
Сортировка
От Lew
Тема Re: Fwd: Cleanup patch: Change from Vector/Hashtable to ArrayList/HashMap
Дата
Msg-id jop6f5$it0$1@news.albasani.net
обсуждение исходный текст
Ответ на Fwd: Cleanup patch: Change from Vector/Hashtable to ArrayList/HashMap  (Luis Flores <luiscamposflores@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Radosław Smogura
Дата:
Сообщение: Re: Fwd: Postgres JDBC, WS and commit
Следующее
От: Hiroshi Saito
Дата:
Сообщение: Re: Fwd: Cleanup patch: Change from Vector/Hashtable to ArrayList/HashMap