Skip to content

Commit 25cb6a3

Browse files
committed
Replace @provate doc annotation to @Protected
1 parent 13ac3f7 commit 25cb6a3

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/BinarySearchTree.js

+5-5
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ BinarySearchTree.prototype.remove = function(key) {
152152
* * searchResult - true if node was found
153153
* * node - searched node if it was found, otherwise last checked node
154154
*
155-
* @private
155+
* @protected
156156
*/
157157
BinarySearchTree.prototype._search = function(key, root) {
158158
var nkey, node = root || this._root;
@@ -185,7 +185,7 @@ BinarySearchTree.prototype._search = function(key, root) {
185185
*
186186
* @param parent
187187
* @param child
188-
* @private
188+
* @protected
189189
*/
190190
BinarySearchTree.prototype._linkNodes = function(parent, child) {
191191
child.p = parent;
@@ -197,7 +197,7 @@ BinarySearchTree.prototype._linkNodes = function(parent, child) {
197197
/**
198198
* Remove specified node
199199
* @param node
200-
* @private
200+
* @protected
201201
*/
202202
BinarySearchTree.prototype._removeNode = function(node) {
203203
var parent = node.p;
@@ -213,7 +213,7 @@ BinarySearchTree.prototype._removeNode = function(node) {
213213
* @param root Subtree root node
214214
* @returns Node with minimum key
215215
*
216-
* @private
216+
* @protected
217217
*/
218218
BinarySearchTree.prototype._getMinNode = function(root) {
219219
var node = root || this._root;
@@ -232,7 +232,7 @@ BinarySearchTree.prototype._getMinNode = function(root) {
232232
* @param root Subtree root node
233233
* @returns Node with maximum key
234234
*
235-
* @private
235+
* @protected
236236
*/
237237
BinarySearchTree.prototype._getMaxNode = function(root) {
238238
var node = root || this._root;

0 commit comments

Comments
 (0)