public class TypeUtil extends Object
Constructor and Description |
---|
TypeUtil() |
Modifier and Type | Method and Description |
---|---|
static Boolean |
asBoolean(Object obj) |
static Boolean |
asBoolean(Object obj,
boolean defaultValue) |
static int |
asInt(Object obj,
int defaultValue) |
static String |
byteArray2String(byte[] bytes)
Returns a string representation of the byte array as an unsigned array of bytes
(e.g.
|
public static int asInt(Object obj, int defaultValue)
public static String byteArray2String(byte[] bytes)
bytes
- the byte arrayCopyright © 2011-2015 IBM. All Rights Reserved.