TreeMapEntry

Node in the Tree. Doubles as a means to pass key-value pairs back to user (see MapEntry).

Constructors

this
this(K key, V value, TreeMapEntry!(K, V) parent)

Make a new cell with given key, value, and parent, and with {@code null} child links, and BLACK color.

Members

Functions

getKey
K getKey()

Returns the key.

getValue
V getValue()

Returns the value associated with the key.

opEquals
bool opEquals(IObject o)
Undocumented in source. Be warned that the author may not have intended to support it.
opEquals
bool opEquals(Object o)
Undocumented in source. Be warned that the author may not have intended to support it.
setValue
V setValue(V value)

Replaces the value currently associated with the key with the given value.

toHash
size_t toHash()
Undocumented in source. Be warned that the author may not have intended to support it.
toString
string toString()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

color
bool color;
Undocumented in source.
key
K key;
Undocumented in source.
left
TreeMapEntry!(K, V) left;
Undocumented in source.
parent
TreeMapEntry!(K, V) parent;
Undocumented in source.
right
TreeMapEntry!(K, V) right;
Undocumented in source.
value
V value;
Undocumented in source.

Meta