We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Для TreeNode можно сделать то же, что и с https://github.com/HowProgrammingWorks/LinkedList и тут даже можно больше придумать:
findFirst(name):Node
findAll(name):[Node]
find(name, callback(Node))
find({ name, depth }, callback(Node))
find({ name, parent, depth, hasChildren }, callback(Node))
find(nameRegExp, callback(Node))
shift, pop, erase
unshift, push, insert
append([node1, node2, node3])
setParent(node, newParent)
и таких можно придумать много, вы поняли принцип
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Для TreeNode можно сделать то же, что и с https://github.com/HowProgrammingWorks/LinkedList и тут даже можно больше придумать:
findFirst(name):Node
findAll(name):[Node]
find(name, callback(Node))
find({ name, depth }, callback(Node))
find({ name, parent, depth, hasChildren }, callback(Node))
find(nameRegExp, callback(Node))
shift, pop, erase
unshift, push, insert
append([node1, node2, node3])
setParent(node, newParent)
и таких можно придумать много, вы поняли принцип
The text was updated successfully, but these errors were encountered: