org.javimmutable.collections.tree_list
Class UpdateResult<T>
java.lang.Object
org.javimmutable.collections.tree_list.UpdateResult<T>
@Immutable
public class UpdateResult<T>
- extends Object
type
public final UpdateResult.Type type
newNode
public final TreeNode<T> newNode
extraNode
public final TreeNode<T> extraNode
createInPlace
public static <T> UpdateResult<T> createInPlace(TreeNode<T> newNode)
createSplit
public static <T> UpdateResult<T> createSplit(TreeNode<T> newNode,
TreeNode<T> extraNode)
createTwoNode
public TreeNode<T> createTwoNode()
createLeftTwoNode
public TreeNode<T> createLeftTwoNode(TreeNode<T> right,
int rightSize)
createLeftThreeNode
public TreeNode<T> createLeftThreeNode(TreeNode<T> right,
int rightSize)
createRightTwoNode
public TreeNode<T> createRightTwoNode(TreeNode<T> left,
int leftSize)
createRightThreeNode
public TreeNode<T> createRightThreeNode(TreeNode<T> left,
int leftSize)
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2014 Burton Computer Corporation. All rights reserved.