Class LLRBRedValueNode<K,V> (3.8.2)

public class LLRBRedValueNode<K,V> extends LLRBValueNode<K,V>

Inheritance

java.lang.Object > LLRBValueNode > LLRBRedValueNode<K,V>

Type Parameters

NameDescription
K
V

Methods

copy(K key, V value, LLRBNode<K,V> left, LLRBNode<K,V> right)

protected LLRBValueNode<K,V> copy(K key, V value, LLRBNode<K,V> left, LLRBNode<K,V> right)
Parameters
NameDescription
keyK
valueV
leftLLRBNode<K,V>
rightLLRBNode<K,V>
Returns
TypeDescription
LLRBValueNode<K,V>
Overrides

getColor()

protected LLRBNode.Color getColor()
Returns
TypeDescription
LLRBNode.Color
Overrides

isRed()

public boolean isRed()
Returns
TypeDescription
boolean

size()

public int size()
Returns
TypeDescription
int