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 crin2Formula3() {
    double rs = 0;

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

    rs = h6 - h7 - CRIN2_OL;//  w  w  w .  ja  va  2s  .com

    return rs;
}

From source file:Main.java

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;//from ww  w  .  ja  va 2 s  .  c o  m

    return rs;
}

From source file:Main.java

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

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

    rs = h1 - h2 + DENSO_AH;//from   w w  w  .  j a  va 2  s  . c o  m

    return rs;
}

From source file:Main.java

public static double crin2Formula1() {
    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_NF / 35.8) - h3;

    return rs;// www.ja v  a  2s  .com
}

From source file:Main.java

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

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

    rs = h9 - CRIN1_6_NL;//from   w  w  w.ja  va2  s.  c  o  m

    return rs;
}

From source file:Main.java

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

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

    rs = h4 - h5 + CRIN1_RAG;/*from  w  ww .  j  a  va 2 s  .  c  o m*/

    return rs;
}

From source file:Main.java

public static double densoFormula3() {
    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 - DENSO_NF / 35.8) - h3;

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

From source file:Main.java

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

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

    rs = h10 - CRIN2_L_NL;//from   w w w .j  ava  2s . c  o  m

    return rs;
}

From source file:Main.java

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

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

    rs = h5 + h6 - h4 + CRIN2_AH;/*from  w  w  w .  j a va 2s.  c  o  m*/

    return rs;
}

From source file:Main.java

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

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

    rs = h9 - CRI2_996_NL;//from w w  w  .ja  v a2 s.  c  om

    return rs;
}