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_NF = 34.0; public static double cri1998Formula5() { double rs = 0; double h1 = Double.valueOf(DATA_MAP.get("h1")); double h10 = Double.valueOf(DATA_MAP.get("h10")); rs = h1 - (h10 - CRI1_998_NF / 35.9); return rs; } }