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

Comparing jsr166/src/main/java/util/concurrent/Delayed.java (file contents):
Revision 1.7 by dl, Sat Dec 27 19:26:25 2003 UTC vs.
Revision 1.8 by dl, Sat Apr 10 14:24:36 2004 UTC

# Line 19 | Line 19 | import java.util.*;
19   * @since 1.5
20   * @author Doug Lea
21   */
22 < public interface Delayed extends Comparable {
22 > public interface Delayed extends Comparable<Delayed> {
23  
24      /**
25 <     * Returns the delay associated with this object, in the given time unit.
25 >     * Returns the remaining delay associated with this object, in the
26 >     * given time unit.
27       *
28       * @param unit the time unit
29 <     * @return the delay; zero or negative values indicate that the
30 <     * delay has already elapsed
29 >     * @return the remaining delay; zero or negative values indicate
30 >     * that the delay has already elapsed
31       */
32      long getDelay(TimeUnit unit);
33   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines