public class Tree
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
EQUAL_SEPARATOR |
static java.lang.String |
PATH_SEPARATOR |
Constructor and Description |
---|
Tree() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
exactMatchPath(java.lang.String match)
Purpose: find an exact match based on the parameter by walking the tree, finding a string which equals each matching substring, and returning the full path if it matched. |
java.lang.String |
findMatchPath(java.lang.String match)
Purpose: find a match based on the parameter by walking the tree, finding a string which contains the matching substring, and returning the full path if it matched. |
java.lang.Integer |
getChildCount() |
Tree |
getFirstChild() |
java.lang.Integer |
getLevel() |
Tree |
getNextSibling() |
java.lang.Integer |
getSiblingCount() |
java.lang.Object |
getUserObject() |
void |
setChildCount(java.lang.Integer childCount) |
void |
setFirstChild(Tree firstChild) |
void |
setLevel(java.lang.Integer level) |
void |
setNextSibling(Tree nextSibling) |
void |
setSiblingCount(java.lang.Integer siblingCount) |
void |
setUserObject(java.lang.Object userObject) |
java.lang.String |
toString() |
java.lang.String[] |
toStringArray() |
java.lang.String[] |
toStringArrayWOSiblings() |
public static final java.lang.String PATH_SEPARATOR
public static final java.lang.String EQUAL_SEPARATOR
public java.lang.Object getUserObject()
public void setUserObject(java.lang.Object userObject)
public Tree getFirstChild()
public void setFirstChild(Tree firstChild)
public Tree getNextSibling()
public void setNextSibling(Tree nextSibling)
public java.lang.Integer getLevel()
public void setLevel(java.lang.Integer level)
public java.lang.Integer getSiblingCount()
public void setSiblingCount(java.lang.Integer siblingCount)
public java.lang.Integer getChildCount()
public void setChildCount(java.lang.Integer childCount)
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String[] toStringArray()
public java.lang.String[] toStringArrayWOSiblings()
public java.lang.String findMatchPath(java.lang.String match)
match,
- Stringpublic java.lang.String exactMatchPath(java.lang.String match)
match,
- StringCopyright © SAS Institute. All Rights Reserved.