猫和鱼爪的鸟窝

Pain is in your mind.

ExecutorService中submit和execute的区别

接收的参数不一样 submit有返回值,而execute没有 Method submit extends base method Executor.execute by creating and returning a Future that can be used to cancel execu...

2016-03-10 10:29:49

阅读数:759

评论数:0

java反射获取某接口的所有实现类

@SuppressWarnings("unchecked") private List<Class<ScmJob>> getAllSubclassOfTestInterface() { Field field = null; ...

2016-03-08 23:02:38

阅读数:12564

评论数:3

提示
确定要删除当前文章?
取消 删除
关闭
关闭