commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From S├ębastien Brisard <sebastien.bris...@m4x.org>
Subject Re: [Math] Issue 810
Date Mon, 02 Jul 2012 13:56:22 GMT
Hi,

2012/7/2 Gilles Sadowski <gilles@harfang.homelinux.org>:
> Hi.
>
> Please have a look at
>   https://issues.apache.org/jira/browse/MATH-810
>
> [This will enable more natural usage in contexts where there is no notion of
> "key" and "value".]
>
> Any objection?
>
>
> Best,
> Gilles
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>

I'm +1 for this change. I would even write the patch the other way round

public K getKey() {
  return getFirst();
}

to emphasize that a Key, Value pair is just a particular case of a
general pair. This is a bit nit-picking, though...

S├ębastien


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


Mime
View raw message