Class LLRBEmptyNode<K,V>
java.lang.Object
com.google.cloud.firestore.collection.LLRBEmptyNode<K,V>
- All Implemented Interfaces:
LLRBNode<K,V>
-
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 TypeMethodDescriptionstatic <K,V> LLRBEmptyNode<K, V> getKey()getLeft()getMax()getMin()getRight()getValue()voidinOrderTraversal(LLRBNode.NodeVisitor<K, V> visitor) insert(K key, V value, Comparator<K> comparator) booleanisEmpty()booleanisRed()remove(K key, Comparator<K> comparator) booleanbooleanintsize()
-
Method Details
-
getInstance
-
copy
-
insert
-
remove
-
isEmpty
public boolean isEmpty() -
isRed
public boolean isRed() -
getKey
-
getValue
-
getLeft
-
getRight
-
getMin
-
getMax
-
size
public int size() -
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>
-