摘要: 1、判断list是否为空(Map、Set同list) 2、判断String类型数据是否为空 3、判断date类型数据是否为空 阅读全文
posted @ 2016-10-19 18:55 李清欣 阅读(113726) 评论(1) 推荐(1) 编辑
摘要: 1、String转成Int 2、Double转成Int 3、Integer转成String 4、Integer转int 5、int转Integer 6、String转BigDecimal 7、double类型转成String顺便格式化 阅读全文
posted @ 2016-10-19 18:40 李清欣 阅读(297) 评论(0) 推荐(0) 编辑
摘要: for(String s : list){ System.out.print(s+"/t"); } for(int i = 0;i<list.size();i++){ System.out.print(list.get(i)+"/t"); } for(Iterator item = list.iterator();item.hasNext();){ ... 阅读全文
posted @ 2016-10-19 09:35 李清欣 阅读(5577) 评论(0) 推荐(0) 编辑