it.amattioli.applicate.browsing
Class TreePath

Show UML class diagram
java.lang.Object
  extended by it.amattioli.applicate.browsing.TreePath

public class TreePath
extends Object


Constructor Summary
TreePath(int... path)
           
TreePath(List<Integer> path)
           
TreePath(String s)
           
 
Method Summary
 int[] asIntArray()
           
 TreePath childrenPath(int index)
           
 int depth()
           
 int elementAt(int idx)
           
 boolean equals(Object obj)
           
 int hashCode()
           
 TreePath parentPath()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TreePath

public TreePath(List<Integer> path)

TreePath

public TreePath(int... path)

TreePath

public TreePath(String s)
Method Detail

asIntArray

public int[] asIntArray()

parentPath

public TreePath parentPath()

childrenPath

public TreePath childrenPath(int index)

toString

public String toString()
Overrides:
toString in class Object

depth

public int depth()

elementAt

public int elementAt(int idx)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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


Copyright © 2011. All Rights Reserved.