public class LLRBBlackValueNode<K,V> extends LLRBValueNode<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> |
getColor()
protected LLRBNode.Color getColor()
Returns | |
---|---|
Type | Description |
LLRBNode.Color |
isRed()
public boolean isRed()
Returns | |
---|---|
Type | Description |
boolean |
size()
public int size()
Returns | |
---|---|
Type | Description |
int |