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_999_RAG = 0.075; public static double cri1999Formula4() { double rs = 0; double h8 = Double.valueOf(DATA_MAP.get("h8")); double h9 = Double.valueOf(DATA_MAP.get("h9")); rs = h8 - h9 + CRI1_999_RAG; return rs; } }