Uses of Class
de.captaingoldfish.scim.sdk.common.tree.TreeNode
Packages that use TreeNode
Package
Description
this package contains a simple tree implementation.
-
Uses of TreeNode in de.captaingoldfish.scim.sdk.common.tree
Methods in de.captaingoldfish.scim.sdk.common.tree that return TreeNodeModifier and TypeMethodDescriptionGenericTree.addDistinctNode(T value) creates a new node if a node with the same value does not exist yet and returns the existing node if a node with an identical value does already existGenericTree.addNewNode(T value) creates a new tree node with this tree as its parentMethods in de.captaingoldfish.scim.sdk.common.tree that return types with arguments of type TreeNodeModifier and TypeMethodDescriptionTreeNode.getAllBranchNodes()GenericTree.getAllNodes()TreeNode.getChildren()GenericTree.getLeafs()TreeNode.getParents()GenericTree.getRoots()Methods in de.captaingoldfish.scim.sdk.common.tree with parameters of type TreeNodeModifier and TypeMethodDescriptionvoidadd a child to this nodevoidTreeNode.addChildren(TreeNode<T>... children) adds several children at onceprotected voidmethod is only called by tree nodesprotected voidvoidadd a parent to this nodevoidTreeNode.addParents(TreeNode<T>... parents) add several parents at onceprotected voidvoidGenericTree.removeBranchFromTree(TreeNode<T> treeNode) removes the branch from the tree represented by the given treenodevoidTreeNode.removeChild(TreeNode<T> child) remove a child from this node.voidTreeNode.removeChildren(TreeNode<T>... children) removes several children at onceprotected voidGenericTree.removeLeaf(TreeNode<T> treeNode) voidGenericTree.removeNodeFromTree(TreeNode<T> treeNode) removes a single node from the tree.voidTreeNode.removeParent(TreeNode<T> parent) remove a parent from this nodevoidTreeNode.removeParents(TreeNode<T>... parents) removes several parents at onceprotected voidGenericTree.removeRoot(TreeNode<T> treeNode)