public class Convert
extends java.lang.Object
Constructor and Description |
---|
Convert() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
booleanToObject(boolean value) |
java.lang.Object |
byteToObject(byte value) |
java.lang.Object |
byteToObjectUnsigned(byte value) |
java.lang.Object |
charToObject(char ch) |
java.lang.Object |
doubleToObject(double value) |
java.lang.Object |
floatToObject(float value) |
static Convert |
getInstance() |
java.lang.Object |
intToObject(int value) |
java.lang.Object |
intToObjectUnsigned(int value) |
java.lang.Object |
longToObject(long value) |
java.lang.Object |
longToObjectUnsigned(long value) |
boolean |
objectToBoolean(java.lang.Object obj) |
byte |
objectToByte(java.lang.Object obj) |
byte |
objectToByteUnsigned(java.lang.Object obj) |
char |
objectToChar(java.lang.Object obj) |
double |
objectToDouble(java.lang.Object obj) |
float |
objectToFloat(java.lang.Object obj) |
int |
objectToInt(java.lang.Object obj) |
int |
objectToIntUnsigned(java.lang.Object obj) |
long |
objectToLong(java.lang.Object obj) |
long |
objectToLongUnsigned(java.lang.Object obj) |
short |
objectToShort(java.lang.Object obj) |
short |
objectToShortUnsigned(java.lang.Object obj) |
static double |
parseDouble(java.lang.String str) |
static void |
setInstance(Convert value) |
java.lang.Object |
shortToObject(short value) |
java.lang.Object |
shortToObjectUnsigned(short value) |
static boolean |
toBoolean(java.lang.Object obj) |
static byte |
toByte(java.lang.Object obj) |
static byte |
toByteUnsigned(java.lang.Object obj) |
static char |
toChar(java.lang.Object obj) |
static double |
toDouble(java.lang.Object obj) |
static float |
toFloat(java.lang.Object obj) |
static int |
toInt(java.lang.Object obj) |
static int |
toIntUnsigned(java.lang.Object obj) |
static long |
toLong(java.lang.Object obj) |
static long |
toLongUnsigned(java.lang.Object obj) |
static java.lang.Object |
toObject(boolean value) |
static java.lang.Object |
toObject(byte value) |
static java.lang.Object |
toObject(char ch) |
static java.lang.Object |
toObject(double value) |
static java.lang.Object |
toObject(float value) |
static java.lang.Object |
toObject(int value) |
static java.lang.Object |
toObject(long value) |
static java.lang.Object |
toObject(short value) |
static java.lang.Object |
toObjectUnsigned(byte value) |
static java.lang.Object |
toObjectUnsigned(int value) |
static java.lang.Object |
toObjectUnsigned(long value) |
static java.lang.Object |
toObjectUnsigned(short value) |
static short |
toShort(java.lang.Object obj) |
static short |
toShortUnsigned(java.lang.Object obj) |
public static Convert instance
public static Convert getInstance()
public static void setInstance(Convert value)
public java.lang.Object booleanToObject(boolean value)
public boolean objectToBoolean(java.lang.Object obj)
public static java.lang.Object toObject(boolean value)
public static boolean toBoolean(java.lang.Object obj)
public java.lang.Object charToObject(char ch)
public char objectToChar(java.lang.Object obj)
public static java.lang.Object toObject(char ch)
public static char toChar(java.lang.Object obj)
public java.lang.Object byteToObject(byte value)
public byte objectToByte(java.lang.Object obj)
public static java.lang.Object toObject(byte value)
public static byte toByte(java.lang.Object obj)
public java.lang.Object byteToObjectUnsigned(byte value)
public byte objectToByteUnsigned(java.lang.Object obj)
public static java.lang.Object toObjectUnsigned(byte value)
public static byte toByteUnsigned(java.lang.Object obj)
public java.lang.Object shortToObject(short value)
public short objectToShort(java.lang.Object obj)
public static java.lang.Object toObject(short value)
public static short toShort(java.lang.Object obj)
public java.lang.Object shortToObjectUnsigned(short value)
public short objectToShortUnsigned(java.lang.Object obj)
public static java.lang.Object toObjectUnsigned(short value)
public static short toShortUnsigned(java.lang.Object obj)
public java.lang.Object intToObject(int value)
public int objectToInt(java.lang.Object obj)
public static java.lang.Object toObject(int value)
public static int toInt(java.lang.Object obj)
public java.lang.Object intToObjectUnsigned(int value)
public int objectToIntUnsigned(java.lang.Object obj)
public static java.lang.Object toObjectUnsigned(int value)
public static int toIntUnsigned(java.lang.Object obj)
public java.lang.Object longToObject(long value)
public long objectToLong(java.lang.Object obj)
public static java.lang.Object toObject(long value)
public static long toLong(java.lang.Object obj)
public java.lang.Object longToObjectUnsigned(long value)
public long objectToLongUnsigned(java.lang.Object obj)
public static java.lang.Object toObjectUnsigned(long value)
public static long toLongUnsigned(java.lang.Object obj)
public java.lang.Object floatToObject(float value)
public float objectToFloat(java.lang.Object obj)
public static java.lang.Object toObject(float value)
public static float toFloat(java.lang.Object obj)
public java.lang.Object doubleToObject(double value)
public double objectToDouble(java.lang.Object obj)
public static java.lang.Object toObject(double value)
public static double toDouble(java.lang.Object obj)
public static double parseDouble(java.lang.String str)