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

Поиск
Список
Период
Сортировка
Искать

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

От:
Hiroshi Saito <hiroshi@winpg.jp>
Дата:


Lew : 

>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
>
>-- 
>Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org)
>To make changes to your subscription:
>http://www.postgresql.org/mailpref/pgsql-jdbc
>
FAQ