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 CRI1_998_AH = 0.050; static final double CRI1_998_VF = 68.0; public static double cri1998Formula3() { 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 = h7 - h6 - (h8 - CRI1_998_VF / 50.3) + CRI1_998_AH; return rs; } }