Java Object转Long

来源:互联网 发布:营养师配餐软件 编辑:程序博客网 时间:2024/06/06 16:52
  1. String str=String.valueOf(Object);  
  2. Long long=Long.valueOf(str);