摘要: ====>我的新浪小铺在JAVA的如果想要在内部方法中引用外方法的参数,就必须将外部方法中的参数变量用 final 进行修饰。private void runTest(final HttpServletRequest req, int cellTime,int countTime) {// 启动测试单位时间发送定时器if (timerA == null)timerA = new Timer();timerA.scheduleAtFixedRate(new TimerTask() {public void run() {startWorks();}}, new Date(), cellTi 阅读全文
posted @ 2009-01-20 16:44 枣阳人在深圳 阅读(257) 评论(0) 推荐(0) 编辑