public class NumberUtils extends Object
| Constructor and Description |
|---|
NumberUtils() |
| Modifier and Type | Method and Description |
|---|---|
static Boolean |
getBoolean(String value) |
static Boolean |
getBoolean(String value,
Boolean defaultValue) |
static Boolean |
getBooleanFromNumber(String value) |
static Double |
getDouble(String value) |
static Float |
getFloat(String value) |
static Float |
getFloat(String value,
Float defaultValue) |
static Integer |
getInteger(String value) |
static Integer |
getInteger(String value,
Integer defaultValue) |
static Long |
getLong(String value) |
static String |
getOrdinalSuffix(int n) |
static Integer |
getSafeInteger(String value) |
static Long |
getSafeLong(String value) |
static String |
getString(Integer value) |
public static String getOrdinalSuffix(int n)
Copyright © 2014. All rights reserved.