# | Line 7 | Line 7 | 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) { |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |