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; public static double crin1Formula1() { double rs = 0; double h2 = Double.valueOf(DATA_MAP.get("h2")); double h3 = Double.valueOf(DATA_MAP.get("h3")); rs = h2 - h3 + CRIN1_AH; return rs; } }