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数据类型转换
最新推荐文章于 2023-04-01 18:35:14 发布