commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gilles Sadowski <gil...@harfang.homelinux.org>
Subject Re: svn commit: r1030464 [2/3] - in /commons/proper/math/trunk/src: main/java/org/apache/commons/math/ main/java/org/apache/commons/math/analysis/ main/java/org/apache/commons/math/analysis/integration/ main/java/org/apache/commons/math/analysis/inte
Date Thu, 04 Nov 2010 22:18:28 GMT
> > Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/util/MathUtils.java
> > URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/util/MathUtils.java?rev=1030464&r1=1030463&r2=1030464&view=diff
> > ==============================================================================
> > --- commons/proper/math/trunk/src/main/java/org/apache/commons/math/util/MathUtils.java
(original)
> > +++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/util/MathUtils.java
Wed Nov  3 13:46:04 2010
> ...
> > @@ -1929,58 +1906,139 @@ public final class MathUtils {
> ...
> 
> > +                yValues[j] = y[i];
> > +            }
> > +            list.add(new AbstractMap.SimpleEntry<Double, double[]>(x[i],
yValues));
> 
> Requires Java 1.6+

Then I propose to create a class Pair<K,V> in the "util" package. Is that
OK?  If so, I'll fix this problem tomorrow.


Regards,
Gilles

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


Mime
View raw message