Make an empty tree, using given Comparator for ordering
Clean up when deleted
Time complexity: O(log n)
Configure the assigned allocator with the size of each allocation block (number of nodes allocated at one time) and the number of nodes to pre-populate the cache with.
Time complexity: O(n)
Use a new Comparator. Causes a reorganization
Time complexity: O(log n)
Time complexity: O(log n)
Time complexity: O(n)
Return the first key of the map
Return the value associated with Key key.
Is this container empty?
Return a generic iterator for contained elements
Return an iterator which return all elements matching or greater/lesser than the key in argument. The second argument dictates traversal direction.
Time complexity: O(n)
Return the last key of the map
Return the value of the key exactly matching the provided key or, if none, the key just after/before it based on the setting of the second argument
Return the value associated with Key key.
Operator retreival function
Time complexity: O(log n)
Time complexity: O(n
Time complexity: O(log n)
Time complexity: O(n)
Time complexity: O(log n)
Reset the SortedMap contents. This releases more memory than clear() does
Time complexity: O(log n)
Time complexity: O(log n)
Copy and return the contained set of values in an array, using the optional dst as a recipient (which is resized as necessary).
Create an independent copy. Does not clone elements
Return the number of elements contained
RedBlack trees of (key, value) pairs