|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectoemware.core.util.NumberUtils
public final class NumberUtils
The number utils.
| Field Summary | |
|---|---|
static int |
SHORT_CACHE_MAX
|
| Constructor Summary | |
|---|---|
NumberUtils()
|
|
| Method Summary | |
|---|---|
static boolean |
equals(java.math.BigDecimal pValue1,
java.math.BigDecimal pValue2)
Check to see if the big decimals are equal (null safe). |
static boolean |
equals(java.math.BigInteger pValue1,
java.math.BigInteger pValue2)
Check to see if the big ints are equal (null safe). |
static boolean |
equals(java.lang.Double pValue1,
java.lang.Double pValue2)
Check to see if doubles are equal (null safe). |
static boolean |
equals(java.lang.Integer pValue1,
java.lang.Integer pValue2)
Check to see if ints are equal (null safe). |
static boolean |
equals(java.lang.Long pValue1,
java.lang.Long pValue2)
Check to see if longs are equal (null safe). |
static boolean |
equals(java.lang.Short pValue1,
java.lang.Short pValue2)
Check to see if the shorts are equal (null safe). |
static java.lang.Short |
getShort(int pValue)
Returns the cached copy or a new object for the primitive passed. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int SHORT_CACHE_MAX
| Constructor Detail |
|---|
public NumberUtils()
| Method Detail |
|---|
public static final java.lang.Short getShort(int pValue)
pValue - The value.
public static final boolean equals(java.lang.Double pValue1,
java.lang.Double pValue2)
pValue1 - The first value.pValue2 - The second value.
public static final boolean equals(java.lang.Long pValue1,
java.lang.Long pValue2)
pValue1 - The first value.pValue2 - The second value.
public static final boolean equals(java.lang.Integer pValue1,
java.lang.Integer pValue2)
pValue1 - The first value.pValue2 - The second value.
public static final boolean equals(java.lang.Short pValue1,
java.lang.Short pValue2)
pValue1 - The first value.pValue2 - The second value.
public static final boolean equals(java.math.BigInteger pValue1,
java.math.BigInteger pValue2)
pValue1 - The first value.pValue2 - The second value.
public static final boolean equals(java.math.BigDecimal pValue1,
java.math.BigDecimal pValue2)
pValue1 - The first value.pValue2 - The second value.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||