Java Number Value Of valueOf(boolean tmp)

Here you can find the source of valueOf(boolean tmp)

Description

Description of the Method

License

Open Source License

Parameter

Parameter Description
tmp Description of the Parameter

Return

Description of the Return Value

Declaration

public static String valueOf(boolean tmp) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

public class Main {
    /**/* w  ww.  j  a  v  a 2  s.  co m*/
     * Description of the Method
     *
     * @param tmp Description of the Parameter
     * @return Description of the Return Value
     */
    public static String valueOf(boolean tmp) {
        if (tmp) {
            return "true";
        } else {
            return "false";
        }
    }
}

Related

  1. valueOf(Boolean b)
  2. valueOf(boolean b)
  3. valueOf(boolean b)
  4. valueOf(Boolean bool)
  5. valueOf(boolean flag)
  6. valueOf(Boolean value)
  7. valueOf(Boolean value)
  8. valueOf(char c)
  9. valueOf(char hexChar)