1.转换为long
Object o = new Object();
long l = Long.valueOf(String.valueOf(o)).longValue();
2.转换为Long
Object o = new Object();
long l = Long.valueOf(String.valueOf(o));
1.转换为long
Object o = new Object();
long l = Long.valueOf(String.valueOf(o)).longValue();
2.转换为Long
Object o = new Object();
long l = Long.valueOf(String.valueOf(o));