< prev index next >

src/java.base/share/classes/java/util/concurrent/BlockingDeque.java

Print this page

        

*** 51,61 **** * {@code null} or {@code false}, depending on the operation), the third * blocks the current thread indefinitely until the operation can succeed, * and the fourth blocks for only a given maximum time limit before giving * up. These methods are summarized in the following table: * ! * <table BORDER CELLPADDING=3 CELLSPACING=1> * <caption>Summary of BlockingDeque methods</caption> * <tr> * <td style="text-align:center" COLSPAN = 5> <b>First Element (Head)</b></td> * </tr> * <tr> --- 51,61 ---- * {@code null} or {@code false}, depending on the operation), the third * blocks the current thread indefinitely until the operation can succeed, * and the fourth blocks for only a given maximum time limit before giving * up. These methods are summarized in the following table: * ! * <table class="plain"> * <caption>Summary of BlockingDeque methods</caption> * <tr> * <td style="text-align:center" COLSPAN = 5> <b>First Element (Head)</b></td> * </tr> * <tr>
*** 126,136 **** * <p>A {@code BlockingDeque} implementation may be used directly as a FIFO * {@code BlockingQueue}. The methods inherited from the * {@code BlockingQueue} interface are precisely equivalent to * {@code BlockingDeque} methods as indicated in the following table: * ! * <table BORDER CELLPADDING=3 CELLSPACING=1> * <caption>Comparison of BlockingQueue and BlockingDeque methods</caption> * <tr> * <td style="text-align:center"> <b>{@code BlockingQueue} Method</b></td> * <td style="text-align:center"> <b>Equivalent {@code BlockingDeque} Method</b></td> * </tr> --- 126,136 ---- * <p>A {@code BlockingDeque} implementation may be used directly as a FIFO * {@code BlockingQueue}. The methods inherited from the * {@code BlockingQueue} interface are precisely equivalent to * {@code BlockingDeque} methods as indicated in the following table: * ! * <table class="plain"> * <caption>Comparison of BlockingQueue and BlockingDeque methods</caption> * <tr> * <td style="text-align:center"> <b>{@code BlockingQueue} Method</b></td> * <td style="text-align:center"> <b>Equivalent {@code BlockingDeque} Method</b></td> * </tr>
< prev index next >