Examples of FirstThenSecondDoublesPairComparator


Examples of com.opengamma.util.tuple.FirstThenSecondDoublesPairComparator

    init();
  }

  // TODO this logic should be in the interpolator
  private void init() {
    final Map<DoublesPair, Double> map = new TreeMap<>(new FirstThenSecondDoublesPairComparator());
    final double[] x = getXDataAsPrimitive();
    final double[] y = getYDataAsPrimitive();
    final double[] z = getZDataAsPrimitive();
    for (int i = 0; i < size(); i++) {
      map.put(DoublesPair.of(x[i], y[i]), z[i]);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.