Replaced "AbstractMap.SimpleEntry" with "Pair" to be Java 5 compliant.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1031581 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
5b5e256d97
commit
cfce6350fe
|
@ -24,7 +24,6 @@ import java.util.List;
|
|||
import java.util.ArrayList;
|
||||
import java.util.Comparator;
|
||||
import java.util.Map;
|
||||
import java.util.AbstractMap;
|
||||
import java.util.Collections;
|
||||
|
||||
import org.apache.commons.math.MathRuntimeException;
|
||||
|
@ -2007,7 +2006,7 @@ public final class MathUtils {
|
|||
}
|
||||
yValues[j] = y[i];
|
||||
}
|
||||
list.add(new AbstractMap.SimpleEntry<Double, double[]>(x[i], yValues));
|
||||
list.add(new Pair<Double, double[]>(x[i], yValues));
|
||||
}
|
||||
|
||||
final Comparator<Map.Entry<Double, double[]>> comp
|
||||
|
|
Loading…
Reference in New Issue