|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.opensymphony.util.DataUtil
DOCUMENT ME!
| Constructor Summary | |
DataUtil()
|
|
| Method Summary | |
static boolean |
getBoolean(java.lang.Boolean b)
Returns the primitve representation of the object, false if the object is null |
static byte |
getByte(java.lang.Byte b)
Returns the primitve representation of the object, 0 if the object is null |
static double |
getDouble(java.lang.Double d)
Returns the primitve representation of the object, 0 if the object is null |
static float |
getFloat(java.lang.Float f)
Returns the primitve representation of the object, 0 if the object is null |
static int |
getInt(java.lang.Integer i)
Returns the primitve representation of the object, 0 if the object is null |
static long |
getLong(java.lang.Long l)
Returns the primitve representation of the object, 0 if the object is null |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DataUtil()
| Method Detail |
public static boolean getBoolean(java.lang.Boolean b)
b - - the object representation
public static byte getByte(java.lang.Byte b)
b - - the object representation
public static double getDouble(java.lang.Double d)
d - - the object representation
public static float getFloat(java.lang.Float f)
f - - the object representation
public static int getInt(java.lang.Integer i)
i - - the object representation
public static long getLong(java.lang.Long l)
l - - the object representation
|
See www.opensymphony.com for more information. | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||