Thanks. Fixed in trunk so that getValue says it returns the value.

On Fri, Jun 5, 2009 at 11:51 AM, Andrew M<and...@oc384.net> wrote:
>
>
>
>
> From: NYSE_ARCA [mailto:nyse_a...@oc384.net]
> Sent: Friday, June 05, 2009 1:36 PM
> To: 'dev@commons.apache.org'
> Subject: collections error
>
>
>
> It looks like the java doc here:
>
>
>
> http://commons.apache.org/collections/apidocs/org/apache/commons/collections
> /map/LinkedMap.html#getValue(int)
>
>
>
> is wrong.  It says both get(.) and getValue(.) return the key at the
> specified index.  That can't be right, is it?
>
>
>
>
>
> get
>
> public java.lang.Object get(int index)
>
> Gets the key at the specified index.
>
> Parameters:
>
> index - the index to retrieve
>
> Returns:
>
> the key at the specified index
>
> Throws:
>
> java.lang.IndexOutOfBoundsException - if the index is invalid
>
>  _____
>
> getValue
>
> public java.lang.Object getValue(int index)
>
> Gets the value at the specified index.
>
> Parameters:
>
> index - the index to retrieve
>
> Returns:
>
> the key at the specified index
>
> Throws:
>
> java.lang.IndexOutOfBoundsException - if the index is invalid
>
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to