摘要: import java.util.ArrayList; import java.util.Date; import java.util.List; import net.sf.json.JSONObject; public class Test { public static void main(String[] args) { Mybean bean = new Test().new... 阅读全文
posted @ 2016-11-10 18:25 N神3 阅读(311) 评论(0) 推荐(0) 编辑
摘要: import org.apache.commons.beanutils.BeanUtils;public class Person { private String name; public String getName() { return name; } public void setName( 阅读全文
posted @ 2016-11-10 14:21 N神3 阅读(455) 评论(0) 推荐(0) 编辑
摘要: 原文参考 http://www.javacodegeeks.com/2014/10/apache-commons-io-tutorial.html Apache Commons IO 包绝对是好东西,地址在http://commons.apache.org/proper/commons-io/,下面 阅读全文
posted @ 2016-11-10 11:21 N神3 阅读(560) 评论(0) 推荐(0) 编辑
摘要: //LinkedHashMap先入先出 public class Test { public static void main(String[] args) { Map map = new HashMap(); map.put("aaa", "111"); map.put("bbb", "222"); map.put("ccc", "333"); for(Entry e :map.entryS... 阅读全文
posted @ 2016-11-10 09:54 N神3 阅读(3346) 评论(0) 推荐(0) 编辑