
java
heeye
这个作者很懒,什么都没留下…
展开
-
JAVA中什么时候要用super
不是必须 但是自动调用SUPER 什么时候必须调用SUPER 给你个例子 public class Father { public String name; public Father(String name) { this.name = name; } } public class Son extends Father{ public Son(Str转载 2014-04-10 16:55:25 · 2051 阅读 · 0 评论 -
Timer中schedule()的用法
schedule的意思(时间表、进度表) timer.schedule(new TimerTask(){ void run()},0,60*60*1000); timer.schedule(new MyTask(event.getServletContext()), 0,60*60*1000); 第一个参数"new MyTask(event.getServletContext())": 是转载 2014-04-10 16:55:58 · 407 阅读 · 0 评论 -
List<Map<String, Object>>是什么意思
List>是什么意思 List集合中的对象是一个Map对象,而这个Map对象的键是String类型,值是Object类型 List以Map接口对象为列表对象。 Map以String为键,以Object为值。转载 2014-04-14 10:59:34 · 8900 阅读 · 1 评论