# | Line 15 | Line 15 | import java.util.*; | |
---|---|---|
15 | public interface Delayed extends Comparable { | |
16 | ||
17 | /** | |
18 | < | * Get the delay aoociated with this object, in the given time unit. |
18 | > | * Get the delay associated with this object, in the given time unit. |
19 | * @param unit the time unit | |
20 | * @return the delay; zero or negative values indicate that the | |
21 | < | * delay has already elapsed. |
21 | > | * delay has already elapsed |
22 | */ | |
23 | public long getDelay(TimeUnit unit); | |
24 | } |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |