equal
deleted
inserted
replaced
26 * @bug 4627516 |
26 * @bug 4627516 |
27 * @summary HashMap.Entry.setValue() returns new value (as opposed to old) |
27 * @summary HashMap.Entry.setValue() returns new value (as opposed to old) |
28 * @author jbloch |
28 * @author jbloch |
29 */ |
29 */ |
30 |
30 |
31 import java.util.*; |
31 import java.util.HashMap; |
|
32 import java.util.Map; |
32 |
33 |
33 public class SetValue { |
34 public class SetValue { |
34 static final String key = "key"; |
35 static final String key = "key"; |
35 static final String oldValue = "old"; |
36 static final String oldValue = "old"; |
36 static final String newValue = "new"; |
37 static final String newValue = "new"; |