Example usage for java.lang Double valueOf

List of usage examples for java.lang Double valueOf

Introduction

In this page you can find the example usage for java.lang Double valueOf.

Prototype

@HotSpotIntrinsicCandidate
public static Double valueOf(double d) 

Source Link

Document

Returns a Double instance representing the specified double value.

Usage

From source file:Main.java

public static double delphiFormula1() {
    double rs = 0;

    double h1 = Double.valueOf(DATA_MAP.get("h1"));
    double h2 = Double.valueOf(DATA_MAP.get("h2"));
    double h3 = Double.valueOf(DATA_MAP.get("h3"));

    rs = h2 - (h3 - DELPHI_VF / 43) + h1;

    return rs;/*www  . ja  v a2 s  .co m*/
}

From source file:Main.java

public static double cri1998Formula4() {
    double rs = 0;

    double h9 = Double.valueOf(DATA_MAP.get("h9"));

    rs = h9 - CRI1_998_NL;//from  w  w  w  .  ja v a  2  s  . c  o  m

    return rs;
}

From source file:Main.java

public static double crin2LFormula2() {
    double rs = 0;

    double h4 = Double.valueOf(DATA_MAP.get("h4"));
    double h5 = Double.valueOf(DATA_MAP.get("h5"));

    rs = h5 - h4 + CRIN2_L_AH;/* w  ww. ja v  a 2  s .c om*/

    return rs;
}

From source file:Main.java

public static double crin16Formula2() {
    double rs = 0;

    double h4 = Double.valueOf(DATA_MAP.get("h4"));
    double h5 = Double.valueOf(DATA_MAP.get("h5"));

    rs = h4 - h5 + CRIN1_6_AH;/*from www  . j  a  v  a  2 s  .c o  m*/

    return rs;
}

From source file:Main.java

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;/*from w w w . j  a v a 2s . co m*/
}

From source file:Main.java

public static double crin16Formula3() {
    double rs = 0;

    double h6 = Double.valueOf(DATA_MAP.get("h6"));
    double h7 = Double.valueOf(DATA_MAP.get("h7"));

    rs = h6 - h7 + CRIN1_6_RAG;//  www  .  j a  v a  2s . com

    return rs;
}

From source file:Main.java

public static double crin2LFormula1() {
    double rs = 0;

    double h1 = Double.valueOf(DATA_MAP.get("h1"));
    double h2 = Double.valueOf(DATA_MAP.get("h2"));
    double h3 = Double.valueOf(DATA_MAP.get("h3"));

    rs = h1 - (h2 - CRIN2_L_NF / 35.8) - h3;

    return rs;/*  www.ja  va  2s.  c  o  m*/
}

From source file:Main.java

public static double crin16Formula1() {
    double rs = 0;

    double h1 = Double.valueOf(DATA_MAP.get("h1"));
    double h2 = Double.valueOf(DATA_MAP.get("h2"));
    double h3 = Double.valueOf(DATA_MAP.get("h3"));

    rs = h1 - (h2 - CRIN1_6_NF / 35.8) - h3;

    return rs;/*from w w  w. j  a v a 2s .  com*/
}

From source file:Main.java

public static double crin2LFormula4() {
    double rs = 0;

    double h7 = Double.valueOf(DATA_MAP.get("h7"));
    double h8 = Double.valueOf(DATA_MAP.get("h8"));
    double h9 = Double.valueOf(DATA_MAP.get("h9"));

    rs = h8 - h7 - (h9 - CRIN2_L_VF / 50);

    return rs;// w w w .j a  v  a  2  s .co  m
}

From source file:Main.java

public static double cri1999Formula6() {
    double rs = 0;

    double h13 = Double.valueOf(DATA_MAP.get("h13"));

    rs = h13 - CRI1_999_NL;//from   w  ww . j a  v a2s  .  c  o  m

    return rs;
}