|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Object | +--coins.flow.TreeStructure
A tree structure class.
コンストラクタの概要 | |
TreeStructure()
Constructs a new tree structure instance. |
|
TreeStructure(java.util.Collection pCollection)
Constructs a new tree structure instance whose nodes are elements of the specified argument Collection .
|
メソッドの概要 | |
java.util.List |
ancestorsOf(java.lang.Object pObj)
Returns the ancestor nodes of the specified argument node, including the argument node itself, in this tree structure. |
java.util.List |
childrenOf(java.lang.Object pObj)
Returns the child nodes of the specified argument node in this tree structure. |
boolean |
link(java.lang.Object pParent,
java.lang.Object pChild)
Makes a parent-child link between the given nodes. |
java.lang.Object |
parentOf(java.lang.Object pObj)
Returns the parent node of the specified argument node in this tree structure. |
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
public TreeStructure(java.util.Collection pCollection)
Collection
.
+The nodes are not linked yet.
public TreeStructure()
メソッドの詳細 |
public java.lang.Object parentOf(java.lang.Object pObj)
public java.util.List childrenOf(java.lang.Object pObj)
public java.util.List ancestorsOf(java.lang.Object pObj)
public boolean link(java.lang.Object pParent, java.lang.Object pChild)
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |