Java Integer to String integerToString(Integer i)

Here you can find the source of integerToString(Integer i)

Description

integer To String

License

Apache License

Declaration

public static String integerToString(Integer i) 

Method Source Code

//package com.java2s;
//License from project: Apache License 

public class Main {
    public static String integerToString(Integer i) {
        if (i == null)
            return ("0");
        return i.toString();
    }//from w w w. j  a  va  2 s  .  c om

    /**{ method
     @name toString
     @function convert a char to a string
     @param c the char
     @return the String
     }*/
    public static String toString(char c) {
        StringBuffer s = new StringBuffer();
        s.append(c);
        return (s.toString());
    }
}

Related

  1. int2String(int i, int subNum)
  2. int2string(int n)
  3. int2string(int[] a)
  4. int2String(Integer int_obj)
  5. int2Word(int val)
  6. integerToString(Integer number)
  7. integerToString(Integer value)
  8. intToStr(int nValue)
  9. intToStr(int priceInt)