468 |
|
* Returns value if this node contains a valid key-value pair, |
469 |
|
* else null. |
470 |
|
* @return this node's value if it isn't a marker or header or |
471 |
< |
* is deleted, else null. |
471 |
> |
* is deleted, else null |
472 |
|
*/ |
473 |
|
V getValidValue() { |
474 |
|
Object v = value; |
1601 |
|
* Constructs a new map containing the same mappings as the given |
1602 |
|
* {@code SortedMap}, sorted according to the same ordering. |
1603 |
|
* @param m the sorted map whose mappings are to be placed in this |
1604 |
< |
* map, and whose comparator is to be used to sort this map. |
1604 |
> |
* map, and whose comparator is to be used to sort this map |
1605 |
|
* @throws NullPointerException if the specified sorted map is |
1606 |
< |
* {@code null}. |
1606 |
> |
* {@code null} |
1607 |
|
*/ |
1608 |
|
public ConcurrentSkipListMap(SortedMap<K, ? extends V> m) { |
1609 |
|
this.comparator = m.comparator(); |
2212 |
|
* if this map uses its keys' natural order. |
2213 |
|
* |
2214 |
|
* @return the comparator associated with this map, or |
2215 |
< |
* {@code null} if it uses its keys' natural sort method. |
2215 |
> |
* {@code null} if it uses its keys' natural sort method |
2216 |
|
*/ |
2217 |
|
public Comparator<? super K> comparator() { |
2218 |
|
return comparator; |