Class LLRBBlackValueNode<K,V> (3.32.2)
Stay organized with collections
Save and categorize content based on your preferences.
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>
|
Overrides
getColor()
protected LLRBNode.Color getColor()
Overrides
isRed()
size()
Returns |
Type |
Description |
int |
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-09-04 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Class LLRBBlackValueNode<K,V> (3.32.1)\n\nVersion latestkeyboard_arrow_down\n\n- [3.32.1 (latest)](/java/docs/reference/google-cloud-firestore/latest/com.google.cloud.firestore.collection.LLRBBlackValueNode)\n- [3.32.0](/java/docs/reference/google-cloud-firestore/3.32.0/com.google.cloud.firestore.collection.LLRBBlackValueNode)\n- [3.31.9](/java/docs/reference/google-cloud-firestore/3.31.9/com.google.cloud.firestore.collection.LLRBBlackValueNode)\n- [3.30.11](/java/docs/reference/google-cloud-firestore/3.30.11/com.google.cloud.firestore.collection.LLRBBlackValueNode)\n- [3.28.0](/java/docs/reference/google-cloud-firestore/3.28.0/com.google.cloud.firestore.collection.LLRBBlackValueNode)\n- [3.27.2](/java/docs/reference/google-cloud-firestore/3.27.2/com.google.cloud.firestore.collection.LLRBBlackValueNode)\n- [3.26.5](/java/docs/reference/google-cloud-firestore/3.26.5/com.google.cloud.firestore.collection.LLRBBlackValueNode)\n- [3.25.1](/java/docs/reference/google-cloud-firestore/3.25.1/com.google.cloud.firestore.collection.LLRBBlackValueNode)\n- [3.24.3](/java/docs/reference/google-cloud-firestore/3.24.3/com.google.cloud.firestore.collection.LLRBBlackValueNode)\n- [3.22.0](/java/docs/reference/google-cloud-firestore/3.22.0/com.google.cloud.firestore.collection.LLRBBlackValueNode)\n- [3.21.4](/java/docs/reference/google-cloud-firestore/3.21.4/com.google.cloud.firestore.collection.LLRBBlackValueNode)\n- [3.20.0](/java/docs/reference/google-cloud-firestore/3.20.0/com.google.cloud.firestore.collection.LLRBBlackValueNode)\n- [3.17.0](/java/docs/reference/google-cloud-firestore/3.17.0/com.google.cloud.firestore.collection.LLRBBlackValueNode)\n- [3.16.3](/java/docs/reference/google-cloud-firestore/3.16.3/com.google.cloud.firestore.collection.LLRBBlackValueNode)\n- [3.15.7](/java/docs/reference/google-cloud-firestore/3.15.7/com.google.cloud.firestore.collection.LLRBBlackValueNode)\n- [3.14.4](/java/docs/reference/google-cloud-firestore/3.14.4/com.google.cloud.firestore.collection.LLRBBlackValueNode)\n- [3.13.2](/java/docs/reference/google-cloud-firestore/3.13.2/com.google.cloud.firestore.collection.LLRBBlackValueNode)\n- [3.12.1](/java/docs/reference/google-cloud-firestore/3.12.1/com.google.cloud.firestore.collection.LLRBBlackValueNode)\n- [3.11.0](/java/docs/reference/google-cloud-firestore/3.11.0/com.google.cloud.firestore.collection.LLRBBlackValueNode)\n- [3.10.0](/java/docs/reference/google-cloud-firestore/3.10.0/com.google.cloud.firestore.collection.LLRBBlackValueNode)\n- [3.9.6](/java/docs/reference/google-cloud-firestore/3.9.6/com.google.cloud.firestore.collection.LLRBBlackValueNode)\n- [3.8.2](/java/docs/reference/google-cloud-firestore/3.8.2/com.google.cloud.firestore.collection.LLRBBlackValueNode)\n- [3.7.10](/java/docs/reference/google-cloud-firestore/3.7.10/com.google.cloud.firestore.collection.LLRBBlackValueNode)\n- [3.6.0](/java/docs/reference/google-cloud-firestore/3.6.0/com.google.cloud.firestore.collection.LLRBBlackValueNode)\n- [3.5.0](/java/docs/reference/google-cloud-firestore/3.5.0/com.google.cloud.firestore.collection.LLRBBlackValueNode)\n- [3.4.2](/java/docs/reference/google-cloud-firestore/3.4.2/com.google.cloud.firestore.collection.LLRBBlackValueNode)\n- [3.3.0](/java/docs/reference/google-cloud-firestore/3.3.0/com.google.cloud.firestore.collection.LLRBBlackValueNode)\n- [3.2.0](/java/docs/reference/google-cloud-firestore/3.2.0/com.google.cloud.firestore.collection.LLRBBlackValueNode)\n- [3.1.0](/java/docs/reference/google-cloud-firestore/3.1.0/com.google.cloud.firestore.collection.LLRBBlackValueNode)\n- [3.0.21](/java/docs/reference/google-cloud-firestore/3.0.21/com.google.cloud.firestore.collection.LLRBBlackValueNode) \n\n public class LLRBBlackValueNode\u003cK,V\u003e extends LLRBValueNode\u003cK,V\u003e\n\nInheritance\n-----------\n\n[java.lang.Object](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html) \\\u003e [LLRBValueNode](/java/docs/reference/google-cloud-firestore/latest/com.google.cloud.firestore.collection.LLRBValueNode) \\\u003e LLRBBlackValueNode\\\u003cK,V\\\u003e \n\nInherited Members\n-----------------\n\n[LLRBValueNode.copy(K,V,LLRBNode.Color,LLRBNode\\\u003cK,V\\\u003e,LLRBNode\\\u003cK,V\\\u003e)](/java/docs/reference/google-cloud-firestore/latest/com.google.cloud.firestore.collection.LLRBValueNode#com_google_cloud_firestore_collection_LLRBValueNode_copy_K_V_com_google_cloud_firestore_collection_LLRBNode_Color_com_google_cloud_firestore_collection_LLRBNode_K_V__com_google_cloud_firestore_collection_LLRBNode_K_V__) \n[LLRBValueNode.copy(K,V,LLRBNode\\\u003cK,V\\\u003e,LLRBNode\\\u003cK,V\\\u003e)](/java/docs/reference/google-cloud-firestore/latest/com.google.cloud.firestore.collection.LLRBValueNode#com_google_cloud_firestore_collection_LLRBValueNode_copy_K_V_com_google_cloud_firestore_collection_LLRBNode_K_V__com_google_cloud_firestore_collection_LLRBNode_K_V__) \n[LLRBValueNode.getColor()](/java/docs/reference/google-cloud-firestore/latest/com.google.cloud.firestore.collection.LLRBValueNode#com_google_cloud_firestore_collection_LLRBValueNode_getColor__) \n[LLRBValueNode.getKey()](/java/docs/reference/google-cloud-firestore/latest/com.google.cloud.firestore.collection.LLRBValueNode#com_google_cloud_firestore_collection_LLRBValueNode_getKey__) \n[LLRBValueNode.getLeft()](/java/docs/reference/google-cloud-firestore/latest/com.google.cloud.firestore.collection.LLRBValueNode#com_google_cloud_firestore_collection_LLRBValueNode_getLeft__) \n[LLRBValueNode.getMax()](/java/docs/reference/google-cloud-firestore/latest/com.google.cloud.firestore.collection.LLRBValueNode#com_google_cloud_firestore_collection_LLRBValueNode_getMax__) \n[LLRBValueNode.getMin()](/java/docs/reference/google-cloud-firestore/latest/com.google.cloud.firestore.collection.LLRBValueNode#com_google_cloud_firestore_collection_LLRBValueNode_getMin__) \n[LLRBValueNode.getRight()](/java/docs/reference/google-cloud-firestore/latest/com.google.cloud.firestore.collection.LLRBValueNode#com_google_cloud_firestore_collection_LLRBValueNode_getRight__) \n[LLRBValueNode.getValue()](/java/docs/reference/google-cloud-firestore/latest/com.google.cloud.firestore.collection.LLRBValueNode#com_google_cloud_firestore_collection_LLRBValueNode_getValue__) \n[LLRBValueNode.inOrderTraversal(LLRBNode.NodeVisitor\\\u003cK,V\\\u003e)](/java/docs/reference/google-cloud-firestore/latest/com.google.cloud.firestore.collection.LLRBValueNode#com_google_cloud_firestore_collection_LLRBValueNode_inOrderTraversal_com_google_cloud_firestore_collection_LLRBNode_NodeVisitor_K_V__) \n[LLRBValueNode.insert(K,V,Comparator\\\u003cK\\\u003e)](/java/docs/reference/google-cloud-firestore/latest/com.google.cloud.firestore.collection.LLRBValueNode#com_google_cloud_firestore_collection_LLRBValueNode_insert_K_V_java_util_Comparator_K__) \n[LLRBValueNode.isEmpty()](/java/docs/reference/google-cloud-firestore/latest/com.google.cloud.firestore.collection.LLRBValueNode#com_google_cloud_firestore_collection_LLRBValueNode_isEmpty__) \n[LLRBValueNode.remove(K,Comparator\\\u003cK\\\u003e)](/java/docs/reference/google-cloud-firestore/latest/com.google.cloud.firestore.collection.LLRBValueNode#com_google_cloud_firestore_collection_LLRBValueNode_remove_K_java_util_Comparator_K__) \n[LLRBValueNode.shortCircuitingInOrderTraversal(LLRBNode.ShortCircuitingNodeVisitor\\\u003cK,V\\\u003e)](/java/docs/reference/google-cloud-firestore/latest/com.google.cloud.firestore.collection.LLRBValueNode#com_google_cloud_firestore_collection_LLRBValueNode_shortCircuitingInOrderTraversal_com_google_cloud_firestore_collection_LLRBNode_ShortCircuitingNodeVisitor_K_V__) \n[LLRBValueNode.shortCircuitingReverseOrderTraversal(LLRBNode.ShortCircuitingNodeVisitor\\\u003cK,V\\\u003e)](/java/docs/reference/google-cloud-firestore/latest/com.google.cloud.firestore.collection.LLRBValueNode#com_google_cloud_firestore_collection_LLRBValueNode_shortCircuitingReverseOrderTraversal_com_google_cloud_firestore_collection_LLRBNode_ShortCircuitingNodeVisitor_K_V__) \n[Object.clone()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--) \n[Object.equals(Object)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-) \n[Object.finalize()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--) \n[Object.getClass()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--) \n[Object.hashCode()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--) \n[Object.notify()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--) \n[Object.notifyAll()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--) \n[Object.toString()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--) \n[Object.wait()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--) \n[Object.wait(long)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-) \n[Object.wait(long,int)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-)\n\nMethods\n-------\n\n### copy(K key, V value, LLRBNode\\\u003cK,V\\\u003e left, LLRBNode\\\u003cK,V\\\u003e right)\n\n protected LLRBValueNode\u003cK,V\u003e copy(K key, V value, LLRBNode\u003cK,V\u003e left, LLRBNode\u003cK,V\u003e right)\n\n**Overrides** \n[LLRBValueNode\\\u003cK,V\\\u003e.copy(K key, V value, LLRBNode\\\u003cK,V\\\u003e left, LLRBNode\\\u003cK,V\\\u003e right)](/java/docs/reference/google-cloud-firestore/latest/com.google.cloud.firestore.collection.LLRBValueNode#com_google_cloud_firestore_collection_LLRBValueNode_copy_K_V_com_google_cloud_firestore_collection_LLRBNode_K_V__com_google_cloud_firestore_collection_LLRBNode_K_V__)\n\n### getColor()\n\n protected LLRBNode.Color getColor()\n\n**Overrides** \n[LLRBValueNode\\\u003cK,V\\\u003e.getColor()](/java/docs/reference/google-cloud-firestore/latest/com.google.cloud.firestore.collection.LLRBValueNode#com_google_cloud_firestore_collection_LLRBValueNode_getColor__)\n\n### isRed()\n\n public boolean isRed()\n\n### size()\n\n public int size()"]]