コード例 #1
0
 public void run()
 {
     delegateInstance.cancel();
 }
コード例 #2
0
 /**
  * Cancels the {@code Timer} and removes any scheduled tasks. If there is a
  * currently running task it is not affected. No more tasks may be scheduled
  * on this {@code Timer}. Subsequent calls do nothing.
  */
 public void cancel()
 {
     impl.cancel();
 }