commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Henri Yandell <flame...@gmail.com>
Subject Re: FW: collections error
Date Sat, 06 Jun 2009 09:02:13 GMT
Thanks. Fixed in trunk so that getValue says it returns the value.

On Fri, Jun 5, 2009 at 11:51 AM, Andrew M<andrew@oc384.net> wrote:
>
>
>
>
> From: NYSE_ARCA [mailto:nyse_arca@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-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message