string->byte
Byte.parseByte(String s)
byte->string
Byte.toString(byte b)
char->string
Character.toString (char c)
string->Short
Short.parseShort(String s)
Short->String
Short.toString(Short s)
String->Integer
Integer.parseInt(String s)
Integer->String
Integer.tostring(int i)
String->Long
Long.parseLong(String s)
Long->String
Long.toString(Long i)
String->Float
Float.parseFloat(String s)
Float->String
Float.toString(float f)
String->Double
Double.parseDouble(String s)
Double->String
Double.toString(Double d)
Java数据类型转换
最新推荐文章于 2024-11-29 10:16:29 发布