package seng302.Model; import javafx.util.Pair; import java.util.HashMap; /** * Created by hba56 on 10/05/17. */ public class Polars { private HashMap polarValues; public Polars() { polarValues = new HashMap(); } public void addEstimate(double trueWindSpeed, double trueWindAngle, double boatSpeed){ Pair newKey = new Pair(trueWindSpeed, trueWindAngle); polarValues.put(newKey, boatSpeed); } public HashMap getPolarValues() { return polarValues; } }