[cvs] / jsr166 / src / main / java / util / concurrent / LinkedTransferQueue.java Repository:
ViewVC logotype

Diff of /jsr166/src/main/java/util/concurrent/LinkedTransferQueue.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.155, Thu Feb 2 02:20:02 2017 UTC revision 1.156, Wed Apr 19 23:45:51 2017 UTC
# Line 1246  Line 1246 
1246       * return {@code false}.       * return {@code false}.
1247       *       *
1248       * @return {@code true} (as specified by       * @return {@code true} (as specified by
1249       *  {@link java.util.concurrent.BlockingQueue#offer(Object,long,TimeUnit)       *  {@link BlockingQueue#offer(Object,long,TimeUnit) BlockingQueue.offer})
      *  BlockingQueue.offer})  
1250       * @throws NullPointerException if the specified element is null       * @throws NullPointerException if the specified element is null
1251       */       */
1252      public boolean offer(E e, long timeout, TimeUnit unit) {      public boolean offer(E e, long timeout, TimeUnit unit) {
# Line 1538  Line 1537 
1537       * {@code LinkedTransferQueue} is not capacity constrained.       * {@code LinkedTransferQueue} is not capacity constrained.
1538       *       *
1539       * @return {@code Integer.MAX_VALUE} (as specified by       * @return {@code Integer.MAX_VALUE} (as specified by
1540       *         {@link java.util.concurrent.BlockingQueue#remainingCapacity()       *         {@link BlockingQueue#remainingCapacity()})
      *         BlockingQueue.remainingCapacity})  
1541       */       */
1542      public int remainingCapacity() {      public int remainingCapacity() {
1543          return Integer.MAX_VALUE;          return Integer.MAX_VALUE;

Legend:
Removed from v.1.155  
changed lines
  Added in v.1.156

Doug Lea
ViewVC Help
Powered by ViewVC 1.0.8