org.javimmutable.collections.tree_list
Class DeleteMergeResult<T>

java.lang.Object
  extended by org.javimmutable.collections.tree_list.DeleteMergeResult<T>

@Immutable
public class DeleteMergeResult<T>
extends Object


Field Summary
 TreeNode<T> left
           
 TreeNode<T> right
           
 
Constructor Summary
DeleteMergeResult(TreeNode<T> left)
           
DeleteMergeResult(TreeNode<T> left, TreeNode<T> right)
           
 
Method Summary
 TreeNode<T> createLeftThreeNode(TreeNode<T> callerRight, int callerRightSize)
           
 TreeNode<T> createLeftTwoNode(TreeNode<T> callerRight, int callerRightSize)
           
 TreeNode<T> createRightThreeNode(TreeNode<T> callerLeft, int callerLeftMax)
           
 TreeNode<T> createRightTwoNode(TreeNode<T> callerLeft, int callerLeftMax)
           
 TreeNode<T> createTwoNode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

left

public final TreeNode<T> left

right

public final TreeNode<T> right
Constructor Detail

DeleteMergeResult

public DeleteMergeResult(TreeNode<T> left)

DeleteMergeResult

public DeleteMergeResult(TreeNode<T> left,
                         TreeNode<T> right)
Method Detail

createTwoNode

public TreeNode<T> createTwoNode()

createLeftTwoNode

public TreeNode<T> createLeftTwoNode(TreeNode<T> callerRight,
                                     int callerRightSize)

createLeftThreeNode

public TreeNode<T> createLeftThreeNode(TreeNode<T> callerRight,
                                       int callerRightSize)

createRightTwoNode

public TreeNode<T> createRightTwoNode(TreeNode<T> callerLeft,
                                      int callerLeftMax)

createRightThreeNode

public TreeNode<T> createRightThreeNode(TreeNode<T> callerLeft,
                                        int callerLeftMax)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2014 Burton Computer Corporation. All rights reserved.