|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.greenhopper.util.NumberUtils
public class NumberUtils
| Constructor Summary | |
|---|---|
NumberUtils()
|
|
| Method Summary | |
|---|---|
static java.lang.Double |
toDouble(java.lang.Integer value)
Convert an Integer to a Double, returns null for null |
static java.lang.Double |
toDouble(java.lang.String value)
Convert an String to a Double, returns null for null |
static java.lang.Integer |
toInteger(java.lang.Double value)
Convert a Double into an Integer, returns null for null |
static java.lang.Integer |
toInteger(java.lang.String s)
Convert a String to an Integer. |
static java.lang.Long |
toLong(java.lang.String s)
Convert a String to a Long. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NumberUtils()
| Method Detail |
|---|
public static java.lang.Long toLong(java.lang.String s)
public static java.lang.Integer toInteger(java.lang.String s)
public static java.lang.Integer toInteger(java.lang.Double value)
public static java.lang.Double toDouble(java.lang.Integer value)
public static java.lang.Double toDouble(java.lang.String value)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||