> > 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-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org