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

Поиск
Список
Период
Сортировка
Искать
От
Lew
Тема
Re: Fwd: Cleanup patch: Change from Vector/Hashtable to ArrayList/HashMap
Дата
в 17:55:23
Msg-id
jop6f5$it0$1@news.albasani.net
Ответ на
Список
Дерево обсуждения
Re: Cleanup patch: Change from Vector/Hashtable to ArrayList/HashMap dmp <danap@ttc-cmc.net>
Re: Cleanup patch: Change from Vector/Hashtable to ArrayList/HashMap Robin Rosenberg <robin.rosenberg@dewire.com>
Re: Cleanup patch: Change from Vector/Hashtable to ArrayList/HashMap Robin Rosenberg <robin.rosenberg.lists@dewire.com>
Re: Cleanup patch: Change from Vector/Hashtable to ArrayList/HashMap henk de wit <henk53602@hotmail.com>
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
Дата:
От: Hiroshi Saito
Дата:
FAQ