@InternalApi public class LLRBRedValueNode<K,V> extends LLRBValueNode<K,V>
LLRBNode.Color, LLRBNode.NodeVisitor<K,V>, LLRBNode.ShortCircuitingNodeVisitor<K,V>
Modifier and Type | Method and Description |
---|---|
protected LLRBValueNode<K,V> |
copy(K key,
V value,
LLRBNode<K,V> left,
LLRBNode<K,V> right) |
protected LLRBNode.Color |
getColor() |
boolean |
isRed() |
int |
size() |
copy, getKey, getLeft, getMax, getMin, getRight, getValue, inOrderTraversal, insert, isEmpty, remove, shortCircuitingInOrderTraversal, shortCircuitingReverseOrderTraversal
protected LLRBNode.Color getColor()
getColor
in class LLRBValueNode<K,V>
public boolean isRed()
public int size()
Copyright © 2019 Google LLC. All rights reserved.