151 * Gets the node from the tree, that is associated with the specified key. |
151 * Gets the node from the tree, that is associated with the specified key. |
152 * @param tree the UcxAVLTree |
152 * @param tree the UcxAVLTree |
153 * @param key the key |
153 * @param key the key |
154 * @return the node (or <code>NULL</code>, if the key is not present) |
154 * @return the node (or <code>NULL</code>, if the key is not present) |
155 */ |
155 */ |
156 UcxAVLNode *ucx_avl_getn(UcxAVLTree *tree, intptr_t key); |
156 UcxAVLNode *ucx_avl_get_node(UcxAVLTree *tree, intptr_t key); |
157 |
157 |
158 /** |
158 /** |
159 * Gets the value from the tree, that is associated with the specified key. |
159 * Gets the value from the tree, that is associated with the specified key. |
160 * @param tree the UcxAVLTree |
160 * @param tree the UcxAVLTree |
161 * @param key the key |
161 * @param key the key |
200 * |
200 * |
201 * @param tree the UcxAVLTree |
201 * @param tree the UcxAVLTree |
202 * @param node the node to remove |
202 * @param node the node to remove |
203 * @return zero, if and only if an element has been removed |
203 * @return zero, if and only if an element has been removed |
204 */ |
204 */ |
205 int ucx_avl_remove_n(UcxAVLTree *tree, UcxAVLNode *node); |
205 int ucx_avl_remove_node(UcxAVLTree *tree, UcxAVLNode *node); |
206 |
206 |
207 /** |
207 /** |
208 * Removes an element from the AVL tree. |
208 * Removes an element from the AVL tree. |
209 * |
209 * |
210 * @param tree the UcxAVLTree |
210 * @param tree the UcxAVLTree |