|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object | +--org.openorb.util.NumberCache
A utility class for obtaining Number instances.
This class caches the most commonly used values.
| Method Summary | |
static java.lang.Byte |
getByte(byte value)
Gets the Byte instance for the specifed value. |
static java.lang.Double |
getDouble(double value)
Gets the Double instance for the specifed value. |
static java.lang.Float |
getFloat(float value)
Gets the Float instance for the specifed value. |
static java.lang.Integer |
getInteger(int value)
Gets the Integer instance for the specifed value. |
static java.lang.Long |
getLong(long value)
Gets the Long instance for the specifed value. |
static java.lang.Short |
getShort(short value)
Gets the Short instance for the specifed value. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static java.lang.Byte getByte(byte value)
Byte instance for the specifed value.value - the value for the objectByte instancepublic static java.lang.Short getShort(short value)
Short instance for the specifed value.value - the value for the objectShort instancepublic static java.lang.Integer getInteger(int value)
Integer instance for the specifed value.value - the value for the objectInteger instancepublic static java.lang.Long getLong(long value)
Long instance for the specifed value.value - the value for the objectLong instancepublic static java.lang.Float getFloat(float value)
Float instance for the specifed value.value - the value for the objectFloat instancepublic static java.lang.Double getDouble(double value)
Double instance for the specifed value.value - the value for the objectDouble instance
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||