ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/test/loops/SMap.java
(Generate patch)

Comparing jsr166/src/test/loops/SMap.java (file contents):
Revision 1.4 by jsr166, Sat Oct 16 16:22:57 2010 UTC vs.
Revision 1.6 by jsr166, Sun Oct 21 06:40:21 2012 UTC

# Line 1 | Line 1
1   /*
2   * Written by Doug Lea with assistance from members of JCP JSR-166
3   * Expert Group and released to the public domain, as explained at
4 < * http://creativecommons.org/licenses/publicdomain
4 > * http://creativecommons.org/publicdomain/zero/1.0/
5   */
6   import java.util.*;
7   import java.util.concurrent.*;
8   import java.util.concurrent.locks.*;
9  
10
10   /**
11   * This is an incomplete implementation of a wrapper class
12   * that places read-write locks around unsynchronized Maps.
13   * Exists as a sample input for MapLoops test.
14   */
16
15   public class SMap implements Map {
16      private final Map m;
17      public SMap(Map m) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines