org.javimmutable.collections.tree
Class DeleteMergeResult<K,V>

java.lang.Object
  extended by org.javimmutable.collections.tree.DeleteMergeResult<K,V>

@Immutable
public class DeleteMergeResult<K,V>
extends Object


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

Field Detail

left

public final TreeNode<K,V> left

right

public final TreeNode<K,V> right
Constructor Detail

DeleteMergeResult

public DeleteMergeResult(TreeNode<K,V> left)

DeleteMergeResult

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

createTwoNode

public TreeNode<K,V> createTwoNode()

createLeftTwoNode

public TreeNode<K,V> createLeftTwoNode(TreeNode<K,V> callerRight,
                                       K callerRightMax)

createLeftThreeNode

public TreeNode<K,V> createLeftThreeNode(TreeNode<K,V> callerRight,
                                         K callerRightMax)

createRightTwoNode

public TreeNode<K,V> createRightTwoNode(TreeNode<K,V> callerLeft,
                                        K callerLeftMax)

createRightThreeNode

public TreeNode<K,V> createRightThreeNode(TreeNode<K,V> callerLeft,
                                          K callerLeftMax)

toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2014 Burton Computer Corporation. All rights reserved.