net.sf.jame.core.tree
Class NodePath
java.lang.Object
net.sf.jame.core.tree.NodePath
- All Implemented Interfaces:
- java.io.Serializable
public class NodePath
- extends java.lang.Object
- implements java.io.Serializable
- Author:
- Andrea Medeghini
- See Also:
- Serialized Form
|
Constructor Summary |
NodePath()
|
NodePath(java.lang.Integer[] pathElements)
|
NodePath(java.util.List<java.lang.Integer> pathElementList)
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
NodePath
public NodePath()
NodePath
public NodePath(java.lang.Integer[] pathElements)
- Parameters:
pathElements -
NodePath
public NodePath(java.util.List<java.lang.Integer> pathElementList)
- Parameters:
pathElementList -
getPathElementList
public java.util.List<java.lang.Integer> getPathElementList()
- Returns:
getPathElements
public java.lang.Integer[] getPathElements()
- Returns:
addPathElement
public void addPathElement(java.lang.Integer pathElement)
- Parameters:
pathElement -
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
- See Also:
EventObject.toString()
getLastPathElement
public int getLastPathElement()
- Returns:
valueOf
public static NodePath valueOf(java.lang.String value)
- Parameters:
value -
- Returns:
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals in class java.lang.Object
- See Also:
Object.equals(java.lang.Object)