ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/main/java/util/concurrent/Exchanger.java
(Generate patch)

Comparing jsr166/src/main/java/util/concurrent/Exchanger.java (file contents):
Revision 1.64 by dl, Mon May 6 15:21:15 2013 UTC vs.
Revision 1.65 by jsr166, Sun May 25 02:33:45 2014 UTC

# Line 26 | Line 26 | import java.util.concurrent.locks.LockSu
26   * filled one to the thread emptying the buffer.
27   *  <pre> {@code
28   * class FillAndEmpty {
29 < *   Exchanger<DataBuffer> exchanger = new Exchanger<DataBuffer>();
29 > *   Exchanger<DataBuffer> exchanger = new Exchanger<>();
30   *   DataBuffer initialEmptyBuffer = ... a made-up type
31   *   DataBuffer initialFullBuffer = ...
32   *

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines