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

Comparing jsr166/src/main/java/util/concurrent/ScheduledExecutor.java (file contents):
Revision 1.10 by dl, Sat Jul 12 00:50:34 2003 UTC vs.
Revision 1.11 by tim, Wed Aug 6 18:22:09 2003 UTC

# Line 111 | Line 111 | public class ScheduledExecutor extends T
111          }
112  
113          /**
114 <         * Returns the period, or zero if non-periodic
114 >         * Returns the period, or zero if non-periodic.
115 >         *
116           * @return the period
117           */
118          public long getPeriod(TimeUnit unit) {
# Line 197 | Line 198 | public class ScheduledExecutor extends T
198          public boolean remove(Object x) { return dq.remove(x); }
199          public boolean contains(Object x) { return dq.contains(x); }
200          public int size() { return dq.size(); }
201 <        public boolean isEmpty() { return dq.isEmpty(); }
201 >        public boolean isEmpty() { return dq.isEmpty(); }
202          public Iterator<Runnable> iterator() {
203              return new Iterator<Runnable>() {
204                  private Iterator<DelayedTask> it = dq.iterator();
# Line 425 | Line 426 | public class ScheduledExecutor extends T
426      }
427  
428      /**
429 <     * Execute command with zero required delay
429 >     * Execute command with zero required delay.
430 >     *
431       * @param command the task to execute
432       * @throws RejectedExecutionException at discretion of
433       * <tt>RejectedExecutionHandler</tt>, if task cannot be accepted

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines