# | Line 5 | Line 5 | |
---|---|---|
5 | */ | |
6 | ||
7 | package java.util.concurrent; | |
8 | + | |
9 | import java.util.*; | |
10 | ||
11 | /** | |
# | Line 21 | Line 22 | import java.util.*; | |
22 | public interface Delayed extends Comparable { | |
23 | ||
24 | /** | |
25 | < | * Get the delay associated with this object, in the given time unit. |
25 | > | * Returns the delay associated with this object, in the given time unit. |
26 | > | * |
27 | * @param unit the time unit | |
28 | * @return the delay; zero or negative values indicate that the | |
29 | * delay has already elapsed |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |