Class LLRBValueNode<K,V>
java.lang.Object
com.google.cloud.firestore.collection.LLRBValueNode<K,V>
- All Implemented Interfaces:
LLRBNode<K,V>
- Direct Known Subclasses:
LLRBBlackValueNode,LLRBRedValueNode
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.google.cloud.firestore.collection.LLRBNode
LLRBNode.Color, LLRBNode.NodeVisitor<K,V>, LLRBNode.ShortCircuitingNodeVisitor<K, V> -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract LLRBValueNode<K,V> protected abstract LLRBNode.ColorgetColor()getKey()getLeft()getMax()getMin()getRight()getValue()voidinOrderTraversal(LLRBNode.NodeVisitor<K, V> visitor) insert(K key, V value, Comparator<K> comparator) booleanisEmpty()remove(K key, Comparator<K> comparator) booleanboolean
-
Method Details
-
getLeft
-
getRight
-
getKey
-
getValue
-
getColor
-
copy
-
copy
-
insert
-
remove
-
isEmpty
public boolean isEmpty() -
getMin
-
getMax
-
inOrderTraversal
- Specified by:
inOrderTraversalin interfaceLLRBNode<K,V>
-
shortCircuitingInOrderTraversal
- Specified by:
shortCircuitingInOrderTraversalin interfaceLLRBNode<K,V>
-
shortCircuitingReverseOrderTraversal
public boolean shortCircuitingReverseOrderTraversal(LLRBNode.ShortCircuitingNodeVisitor<K, V> visitor) - Specified by:
shortCircuitingReverseOrderTraversalin interfaceLLRBNode<K,V>
-