RBTreeMap

A dictionary or associative array backed by a Red-Black tree.

Constructors

this
this()
Undocumented in source.
this
this(Pair[] elems)
Undocumented in source.
this
this(PairRange pairRange)
Undocumented in source.

Alias This

rbTree

Members

Aliases

RedBlackTreeT
alias RedBlackTreeT = RedBlackTree!(Pair, (pair1, pair2) => keyLess(pair1.key, pair2.key), allowDuplicates)
Undocumented in source.
insert
alias insert = stableInsert
Undocumented in source.
keyLess
alias keyLess = binaryFun!KeyLessF
Undocumented in source.

Functions

equalRange
auto equalRange(KeyT key)
Undocumented in source. Be warned that the author may not have intended to support it.
lowerBound
RedBlackTreeT.ConstRange lowerBound(KeyT key)
Undocumented in source. Be warned that the author may not have intended to support it.
lowerBound
RedBlackTreeT.Range lowerBound(KeyT key)
Undocumented in source. Be warned that the author may not have intended to support it.
lowerBound
RedBlackTreeT.ImmutableRange lowerBound(KeyT key)
Undocumented in source. Be warned that the author may not have intended to support it.
opBinaryRight
bool opBinaryRight(KeyT key)

Membership

opEquals
bool opEquals(Object rhs)
Undocumented in source. Be warned that the author may not have intended to support it.
opIndexAssign
ValueT opIndexAssign(ValueT value, KeyT key)
Undocumented in source. Be warned that the author may not have intended to support it.
removeKey
size_t removeKey(K keys)

Removal

removeKey
size_t removeKey(K[] keys)
Undocumented in source. Be warned that the author may not have intended to support it.
removeKey
size_t removeKey(KeyRange keyRange)
Undocumented in source. Be warned that the author may not have intended to support it.
stableInsert
size_t stableInsert(K key, V value)

Insertion

upperBound
RedBlackTreeT.Range upperBound(KeyT key)

Ranges

upperBound
RedBlackTreeT.ConstRange upperBound(KeyT key)
Undocumented in source. Be warned that the author may not have intended to support it.
upperBound
RedBlackTreeT.ImmutableRange upperBound(KeyT key)
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

Pair
struct Pair
Undocumented in source.

Variables

rbTree
RedBlackTreeT rbTree;
Undocumented in source.

Meta