[SNMP4J] request

Frank Fock fock at agentpp.com
Tue Apr 19 22:16:25 CEST 2005


I think both are pretty exchangable, except that ArrayList is not 
synchronized but
Vector is. So if you do not need synchronization, then ArrayList is 
preferred
otherwise Vector.

Best regards,
Frank

Kevin J. Schmidt wrote:

>Isn't Vector preferred over ArrayList or is it vice versa? I can never
>keep it straight.
>
>On 4/19/05, harrie hazewinkel <harrie at lisanza.net> wrote:
>  
>
>>David Hustace wrote:
>>    
>>
>>>On Apr 19, 2005, at 9:32 AM, Fabrice Bacchella wrote:
>>>
>>>      
>>>
>>>>Vector is supposed to be deprecated. ArrayList should be used instead.
>>>>        
>>>>
>>>Vector deprecated in Java?  I just checked 1.5.  Not deprecated there.
>>>      
>>>
>>I agree. Looked also, but believed I was missing something.
>>
>>--
>>Harrie
>>
>>Internet Development Consulting
>>mailto: harrie(at)lisanza.net              http://www.lisanza.net/
>>skype/aim/yahoo: hhazewinkel              http://www.mod-snmp.com/
>>------------------------------------------------------------------
>>Author of MOD-SNMP, enabling SNMP management of Apache HTTP server
>>_______________________________________________
>>SNMP4J mailing list
>>SNMP4J at agentpp.org
>>http://lists.agentpp.org/mailman/listinfo/snmp4j
>>
>>    
>>
>
>
>  
>





More information about the SNMP4J mailing list