# | Line 1620 | Line 1620 | public class ConcurrentSkipListMap<K,V> | |
---|---|---|
1620 | /** | |
1621 | * Removes all of the mappings from this map. | |
1622 | */ | |
1623 | < | public void clear() { |
1623 | > | public void clear() { |
1624 | for (;;) { | |
1625 | Node<K,V> b, n; | |
1626 | HeadIndex<K,V> h = head, d = (HeadIndex<K,V>)h.down; | |
# | Line 1640 | Line 1640 | public class ConcurrentSkipListMap<K,V> | |
1640 | break; | |
1641 | } | |
1642 | } | |
1643 | < | |
1643 | > | |
1644 | /** | |
1645 | * If the specified key is not already associated with a value, | |
1646 | * attempts to compute its value using the given mapping function |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |