public interface ValueConverter<T>
限定符和类型 | 方法和说明 |
---|---|
T |
convertBoolean(boolean value) |
T |
convertByte(byte value) |
T |
convertChar(char value) |
T |
convertDouble(double value) |
T |
convertFloat(float value) |
T |
convertInt(int value) |
T |
convertLong(long value) |
T |
convertObject(java.lang.Object value) |
T |
convertShort(short value) |
T |
convertTimeMillis(long value) |
boolean |
convertToBoolean(T value) |
byte |
convertToByte(T value) |
char |
convertToChar(T value) |
double |
convertToDouble(T value) |
float |
convertToFloat(T value) |
int |
convertToInt(T value) |
long |
convertToLong(T value) |
short |
convertToShort(T value) |
long |
convertToTimeMillis(T value) |
T convertObject(java.lang.Object value)
T convertBoolean(boolean value)
boolean convertToBoolean(T value)
T convertByte(byte value)
byte convertToByte(T value)
T convertChar(char value)
char convertToChar(T value)
T convertShort(short value)
short convertToShort(T value)
T convertInt(int value)
int convertToInt(T value)
T convertLong(long value)
long convertToLong(T value)
T convertTimeMillis(long value)
long convertToTimeMillis(T value)
T convertFloat(float value)
float convertToFloat(T value)
T convertDouble(double value)
double convertToDouble(T value)