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_RAG = 0.065; public static double cri1998Formula2() { double rs = 0; double h4 = Double.valueOf(DATA_MAP.get("h4")); double h5 = Double.valueOf(DATA_MAP.get("h5")); rs = h4 - h5 + CRI1_998_RAG; return rs; } }