RedBlackTree.bound
Returns a range pointing to all elements having their keys in [lowerKey, upperKey) interval.
Arguments
lowerKey
is the lower bound, inclusive.upperKey
is the upper bound, exclusive.
Return values
The resulting
range
.
Complexity
O(log(size))
Example
Output:
{ key: 19; value: "nineteen"; }
{ key: 32; value: { a:0; b: 1; }; }
{ key: 34; value: "element"; }