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