ewe.data
Class DataUtils

java.lang.Object
  extended byewe.data.DataUtils

public class DataUtils
extends Object


Constructor Summary
DataUtils()
           
 
Method Summary
static int[] addressOfChild(TreeNode parent, TreeNode child)
           
static TreeNode getChildAt(TreeNode parent, int[] address)
           
static TreeNode getParent(TreeNode child, int levels)
           
static TreeNode getSibling(TreeNode child, int change)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, toString
 

Constructor Detail

DataUtils

public DataUtils()
Method Detail

getChildAt

public static TreeNode getChildAt(TreeNode parent,
                                  int[] address)

addressOfChild

public static int[] addressOfChild(TreeNode parent,
                                   TreeNode child)

getSibling

public static TreeNode getSibling(TreeNode child,
                                  int change)

getParent

public static TreeNode getParent(TreeNode child,
                                 int levels)