Advertisement
Guest User

majs

a guest
Apr 16th, 2014
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. else if (this.LeftChild != null && this.RightChild == null)
  2. {
  3. if(IsLeftChild)
  4. {
  5. this.Parent.LeftChild = this.LeftChild;
  6. this.LeftChild.Parent = this.Parent;
  7. }
  8. else if (IsRightChild)
  9. {
  10. this.Parent.RightChild = this.LeftChild;
  11. this.LeftChild.Parent = this.Parent;
  12. }
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement