valueOf(param)的参数只能是对应的数据基本类型和String
Integer.valueOf(int) Integer.valueOf(String)
Long.valueOf(long) Long.valueOf(String)
Float.valueOf(float) Float.valueOf(String)
Double.valueOf(double) Double.valueOf(String)
Boolean.valueOf(boolean) Boolean.valueOf(String)
Character.valueOf(char)
Byte.valueOf(byte) Byte.valueOf(String)
String.valueOf(char)
String.valueOf(char[])
String.valueOf(byte)
String.valueOf(int)
String.valueOf(long)
String.valueOf(float)
String.valueOf(double)
String.valueOf(boolean)
String.valueOf(Object)
阅读(670) | 评论(0) | 转发(0) |