Java tutorial
//package com.java2s; import java.util.HashMap; import java.util.Map; public class Main { public static Map<String, String> DATA_MAP = new HashMap<String, String>(); static final double CRIN1_AH = 0.060; static final double CRIN1_VF = 58.0; public static double crin1Formula3() { double rs = 0; double h6 = Double.valueOf(DATA_MAP.get("h6")); double h7 = Double.valueOf(DATA_MAP.get("h7")); double h8 = Double.valueOf(DATA_MAP.get("h8")); rs = h6 - h7 - (h8 - CRIN1_VF / 50) + CRIN1_AH; return rs; } }