摘要: 转载:https://www.cnblogs.com/lostyears/p/8809336.html 方式一:使用Iterator的remove()方法 方式二:使用List的remove()方法,注意list.size()的位置 方式三:使用CopyOnWriteArrayList 阅读全文
posted @ 2019-10-12 19:11 凌霜寒雪 阅读(348) 评论(0) 推荐(0) 编辑
摘要: String: 1.返回Long包装类型: String str = "aaa"; long l = Long.parseLong([str]); 2.返回long基本数据类型: String str = "aaa"; long l = Long.valueOf("str ").longValue( 阅读全文
posted @ 2019-10-12 16:51 凌霜寒雪 阅读(4666) 评论(0) 推荐(1) 编辑
摘要: int: 1、调用intValue()方法 long ll = 300000; int ii= new Long(ll).intValue(); 2、先把long转换成字符串String,然后在转行成Integer long ll = 300000; int ii = Integer.parseIn 阅读全文
posted @ 2019-10-12 16:41 凌霜寒雪 阅读(9243) 评论(0) 推荐(0) 编辑
Live2D