318 |
|
* the broken state. |
319 |
|
* |
320 |
|
* @return the arrival index of the current thread, where index |
321 |
< |
* <tt>{@link #getParties()} - 1</tt> indicates the first |
321 |
> |
* {@code getParties() - 1} indicates the first |
322 |
|
* to arrive and zero indicates the last to arrive |
323 |
|
* @throws InterruptedException if the current thread was interrupted |
324 |
|
* while waiting |
387 |
|
* @param timeout the time to wait for the barrier |
388 |
|
* @param unit the time unit of the timeout parameter |
389 |
|
* @return the arrival index of the current thread, where index |
390 |
< |
* <tt>{@link #getParties()} - 1</tt> indicates the first |
390 |
> |
* {@code getParties() - 1} indicates the first |
391 |
|
* to arrive and zero indicates the last to arrive |
392 |
|
* @throws InterruptedException if the current thread was interrupted |
393 |
|
* while waiting |