Chinaunix首页 | 论坛 | 博客
  • 博客访问: 418030
  • 博文数量: 79
  • 博客积分: 2886
  • 博客等级: 少校
  • 技术积分: 968
  • 用 户 组: 普通用户
  • 注册时间: 2008-05-16 10:33
文章分类

全部博文(79)

文章存档

2013年(7)

2012年(17)

2011年(28)

2010年(25)

2009年(1)

2008年(1)

我的朋友

发布时间:2013-06-04 11:26:45

引入:java被crontab调度时,当进程没有执行完,crontab会启动一个新进程;要解决这个问题,需要在启动脚本里判断进程是否存在。1新建项目Test 、java源代码package test;import java.util.Date;public class Test {public static void main(String args[]){System.out.println(new Date()+" begin---------");tr.........【阅读全文】

阅读(2837) | 评论(0) | 转发(0)

发布时间:2013-02-18 17:45:36

       //Apple Orange 都继承自Fruit类,同时Jonathan是Apple的子类    List<? extends Fruit> list = new ArrayList<Apple>(); // ? extends T 通配符告诉编译器我们在处理一个类型T的子类型,但我们不知道这个子类型究竟是什么。    //list.add(new Appl.........【阅读全文】

阅读(3136) | 评论(0) | 转发(0)

发布时间:2012-06-15 17:30:52

......【阅读全文】

阅读(4073) | 评论(0) | 转发(0)

发布时间:2012-06-15 12:35:06

......【阅读全文】

阅读(5838) | 评论(0) | 转发(0)

发布时间:2012-05-21 10:10:33

......【阅读全文】

阅读(1972) | 评论(0) | 转发(0)
给主人留下些什么吧!~~

lue_sky2014-06-18 16:28

回复  |  举报
留言热议
请登录后留言。

登录 注册