1016 |
|
* return {@code false}. |
1017 |
|
* |
1018 |
|
* @return {@code true} (as specified by |
1019 |
< |
* {@link BlockingQueue#offer(Object,long,TimeUnit) BlockingQueue.offer}) |
1019 |
> |
* {@link java.util.concurrent.BlockingQueue#offer(Object,long,TimeUnit) |
1020 |
> |
* BlockingQueue.offer}) |
1021 |
|
* @throws NullPointerException if the specified element is null |
1022 |
|
*/ |
1023 |
|
public boolean offer(E e, long timeout, TimeUnit unit) { |
1260 |
|
* {@code LinkedTransferQueue} is not capacity constrained. |
1261 |
|
* |
1262 |
|
* @return {@code Integer.MAX_VALUE} (as specified by |
1263 |
< |
* {@link BlockingQueue#remainingCapacity()}) |
1263 |
> |
* {@link java.util.concurrent.BlockingQueue#remainingCapacity() |
1264 |
> |
* BlockingQueue.remainingCapacity}) |
1265 |
|
*/ |
1266 |
|
public int remainingCapacity() { |
1267 |
|
return Integer.MAX_VALUE; |