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.2 by dl, Mon May 9 19:33:30 2005 UTC vs.
Revision 1.3 by jsr166, Thu Oct 29 23:09:08 2009 UTC

# Line 22 | Line 22 | public class SMap implements Map {
22          this.m = m;
23      }
24  
25 <    public SMap() {
25 >    public SMap() {
26          this(new TreeMap()); // use TreeMap by default
27      }
28  
# Line 48 | Line 48 | public class SMap implements Map {
48      public synchronized Set keySet() { // Not implemented
49          return m.keySet();
50      }
51 <    
51 >
52      public synchronized Set entrySet() { // Not implemented
53          return m.entrySet();
54      }
55 <    
55 >
56      public synchronized Collection values() { // Not implemented
57          return m.values();
58      }
59 <    
59 >
60      public synchronized boolean equals(Object o) {
61          return m.equals(o);
62      }
# Line 81 | Line 81 | public class SMap implements Map {
81      public synchronized void clear() {
82          m.clear();
83      }
84 <    
84 >
85   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines