ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/main/java/util/concurrent/ScheduledThreadPoolExecutor.java
(Generate patch)

Comparing jsr166/src/main/java/util/concurrent/ScheduledThreadPoolExecutor.java (file contents):
Revision 1.27 by jsr166, Sun Jun 12 00:42:30 2005 UTC vs.
Revision 1.28 by jsr166, Sun Jun 19 23:02:43 2005 UTC

# Line 5 | Line 5
5   */
6  
7   package java.util.concurrent;
8 < import java.util.concurrent.*; // for javadoc
8 > import java.util.concurrent.*; // for javadoc (till 6280605 is fixed)
9   import java.util.concurrent.atomic.*;
10   import java.util.*;
11  
# Line 32 | Line 32 | import java.util.*;
32   * <p>This class supports protected extension method
33   * <tt>decorateTask</tt> (one version each for <tt>Runnable</tt> and
34   * <tt>Callable</tt>) that can be used to customize the concrete task
35 < * types used to execute commands. By default,  
35 > * types used to execute commands. By default,
36   * a <tt>ScheduledThreadPoolExecutor</tt> uses
37   * a task type extending {@link FutureTask}. However, this may
38   * be modified or replaced using subclasses of the form:
# Line 242 | Line 242 | public class ScheduledThreadPoolExecutor
242  
243      /**
244       * Modify or replace the task used to execute a runnable.
245 <     * This method can be used to override the concrete
245 >     * This method can be used to override the concrete
246       * class used for managing internal tasks.
247       * The default implementation simply returns the given
248       * task.
249 <     *
249 >     *
250       * @param runnable the submitted Runnable
251       * @param task the task created to execute the runnable
252       * @return a task that can execute the runnable
# Line 259 | Line 259 | public class ScheduledThreadPoolExecutor
259  
260      /**
261       * Modify or replace the task used to execute a callable.
262 <     * This method can be used to override the concrete
262 >     * This method can be used to override the concrete
263       * class used for managing internal tasks.
264       * The default implementation simply returns the given
265       * task.
266 <     *
266 >     *
267       * @param callable the submitted Callable
268       * @param task the task created to execute the callable
269       * @return a task that can execute the callable

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines