320 |
|
* Returns the value established during the creation of this |
321 |
|
* node or, if since updated, the value set by the most |
322 |
|
* recent call to setValue, or throws an exception if |
323 |
< |
* value could not be computed |
323 |
> |
* value could not be computed. |
324 |
|
* @return the value |
325 |
|
* @throws RuntimeException or Error if computeValue failed |
326 |
|
*/ |
544 |
|
} |
545 |
|
|
546 |
|
/** |
547 |
< |
* Creates a new CustomConcurrentHashMap with the given parameters |
547 |
> |
* Creates a new CustomConcurrentHashMap with the given parameters. |
548 |
|
* @param keyStrength the strength for keys |
549 |
|
* @param keyEquivalence the Equivalence to use for keys |
550 |
|
* @param valueStrength the strength for values |
573 |
|
|
574 |
|
/** |
575 |
|
* Returns a new map using Integer keys and the given value |
576 |
< |
* parameters |
576 |
> |
* parameters. |
577 |
|
* @param valueStrength the strength for values |
578 |
|
* @param valueEquivalence the Equivalence to use for values |
579 |
|
* @param expectedSize an estimate of the number of elements |
591 |
|
} |
592 |
|
|
593 |
|
/** |
594 |
< |
* Returns a new map using the given key parameters and Integer values |
594 |
> |
* Returns a new map using the given key parameters and Integer values. |
595 |
|
* @param keyStrength the strength for keys |
596 |
|
* @param keyEquivalence the Equivalence to use for keys |
597 |
|
* @param expectedSize an estimate of the number of elements |
609 |
|
} |
610 |
|
|
611 |
|
/** |
612 |
< |
* Returns a new map using Integer keys and values |
612 |
> |
* Returns a new map using Integer keys and values. |
613 |
|
* @param expectedSize an estimate of the number of elements |
614 |
|
* that will be held in the map. If no estimate is known, |
615 |
|
* zero is an acceptable value. |
623 |
|
} |
624 |
|
|
625 |
|
/** |
626 |
< |
* Returns the segment for traversing table for key with given hash |
626 |
> |
* Returns the segment for traversing table for key with given hash. |
627 |
|
* @param hash the hash code for the key |
628 |
|
* @return the segment, or null if not yet initialized |
629 |
|
*/ |
656 |
|
} |
657 |
|
|
658 |
|
/** |
659 |
< |
* Returns node for key, or null if none |
659 |
> |
* Returns node for key, or null if none. |
660 |
|
*/ |
661 |
|
final Node findNode(Object key, int hash, Segment seg) { |
662 |
|
if (seg != null) { |
1600 |
|
final CustomConcurrentHashMap<K,K> cchm; |
1601 |
|
|
1602 |
|
/** |
1603 |
< |
* Creates a set with the given parameters |
1603 |
> |
* Creates a set with the given parameters. |
1604 |
|
* @param strength the strength of elements |
1605 |
|
* @param equivalence the Equivalence to use |
1606 |
|
* @param expectedSize an estimate of the number of elements |