# | 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 |
5 | + | */ |
6 | import java.util.*; | |
7 | import java.util.concurrent.*; | |
8 | import java.util.concurrent.locks.*; | |
# | Line 21 | Line 26 | public class RWMap implements Map { | |
26 | ||
27 | public RWMap() { | |
28 | this(new TreeMap()); // use TreeMap by default | |
29 | + | // this(new IdentityHashMap()); |
30 | } | |
31 | ||
32 | public int size() { |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |