# | Line 577 | Line 577 | public class Exchanger<V> { | |
---|---|---|
577 | * | |
578 | * @param x the object to exchange | |
579 | * @param timeout the maximum time to wait | |
580 | < | * @param unit the time unit of the <tt>timeout</tt> argument |
580 | > | * @param unit the time unit of the {@code timeout} argument |
581 | * @return the object provided by the other thread | |
582 | * @throws InterruptedException if the current thread was | |
583 | * interrupted while waiting |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |