Re: (Vector) get x elementAt
- Subject: Re: (Vector) get x elementAt
- From: Arthur Biazon Machado <messias@linux.ime.usp.br>
- Date: Thu, 17 Apr 2003 09:07:24 -0300
Sergio writes:
> QUal a diferença entre get(int Index) e elementAt (int Index) na classe
> Vector?
>
> Sergio
>
>
>
Extraído da documentação da api do java no site da Sun:
________________________________________________________________________
elementAt(int index)
Returns the component at the specified index.
This method is identical in functionality to the get method
(which is part of the List interface).
Parameters:
index - an index into this vector. Returns:
the component at the specified index. Throws:
ArrayIndexOutOfBoundsException - if the index is negative or not
less than the current size of this Vector object. given.See
Also:
get(int), List>
________________________________________________________________________
Abraços,
-- Arthur Biazon Machado <messias@linux.ime.usp.brc Object