|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.opensymphony.util.DataUtil
public class DataUtil
DOCUMENT ME!
Constructor Summary | |
---|---|
DataUtil()
|
Method Summary | |
---|---|
static boolean |
getBoolean(Boolean b)
Returns the primitve representation of the object, false if the object is null |
static byte |
getByte(Byte b)
Returns the primitve representation of the object, 0 if the object is null |
static double |
getDouble(Double d)
Returns the primitve representation of the object, 0 if the object is null |
static float |
getFloat(Float f)
Returns the primitve representation of the object, 0 if the object is null |
static int |
getInt(Integer i)
Returns the primitve representation of the object, 0 if the object is null |
static long |
getLong(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(Boolean b)
b
- - the object representation
public static byte getByte(Byte b)
b
- - the object representation
public static double getDouble(Double d)
d
- - the object representation
public static float getFloat(Float f)
f
- - the object representation
public static int getInt(Integer i)
i
- - the object representation
public static long getLong(Long l)
l
- - the object representation
|
OSCore Project Page | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |