Class LLRBRedValueNode<K,V> (3.30.0)

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

Inheritance

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

Type Parameters

Name Description
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
Name Description
key K
value V
left LLRBNode<K,V>
right LLRBNode<K,V>
Returns
Type Description
LLRBValueNode<K,V>
Overrides

getColor()

protected LLRBNode.Color getColor()
Returns
Type Description
LLRBNode.Color
Overrides

isRed()

public boolean isRed()
Returns
Type Description
boolean

size()

public int size()
Returns
Type Description
int