- get
Returns the value to which this map maps the specified key. Returnsnull if the
map contains no mappi
- put
Associates the specified value with the specified key in this map. If the map
previously contained a
- remove
Remove entry for key only if currently mapped to given value. Acts as
if ((map.containsKey(key) &&
- <init>
Constructs a new map containing the same mappings as the givenSortedMap, sorted
according to the sam
- addIndex
Add given index nodes from given level down to 1.
- buildFromSorted
Streamlined bulk insertion to initialize from elements of given sorted map. Call
only from construct
- casHead
compareAndSet head node
- clearIndexToFirst
Clear out index nodes associated with deleted first entry. Needed by
doRemoveFirst
- comparable
If using comparator, return a ComparableUsingComparator, else cast key as
Comparator, which may caus
- comparator
Returns the comparator used to order this map, or null if this map uses its
keys' natural order.
- compare
Compare using comparator or natural ordering. Used when the
ComparableUsingComparator approach doesn
- containsAllMappings
Helper for equals -- check for containment, avoiding nulls.