|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Object | +--unot.UnotNode
The class for nodes of a data tree. UnotNode.java Created: Sun Dec 28 22:47:51 2003
フィールドの概要 | |
protected int |
catId
カテゴリーID |
protected unot.NodeList |
children
このノードの隣接リスト (隣接リスト表現) |
protected int |
docId
このノードが所属するドキュメントのID |
protected int |
labelId
このノードのラベルID |
protected unot.UnotNode |
leftMostChild
このノードの最左子供 (LeftMostChild-NextSibling 表現) |
protected unot.UnotNode |
nextSibling
このノードの次弟 (LeftMostChild-NextSibling 表現) |
protected int |
nodeId
このノードのID |
protected unot.UnotNode |
parent
|
static int |
UNDEF_ID
未定義 ID を示す値 |
コンストラクタの概要 | |
UnotNode()
Creates a new UnotNode instance. |
|
UnotNode(int nodeId)
Creates a new UnotNode instance. |
|
UnotNode(int docId,
int nodeId)
Creates a new UnotNode instance. |
|
UnotNode(int docId,
int nodeId,
int labelId)
Creates a new UnotNode instance. |
メソッドの概要 | |
void |
addChildAtLast(unot.UnotNode child)
子ノードリストの末尾に与えられた子ノードを追加する. |
int |
getCatId()
Gets the value of nodeId |
unot.NodeList |
getChildren()
Describe getChildren method here. |
int |
getDocId()
Gets the value of nodeId |
int |
getLabelId()
Gets the value of labelId |
unot.UnotNode |
getLeftMostChild()
Not used. |
unot.UnotNode |
getNextSibling()
Not used. |
int |
getNodeId()
Gets the value of nodeId |
unot.UnotNode |
getParent()
Describe getParent method here. |
protected void |
setCatId(int id)
ノードのカテゴリーIDを設定する. |
protected void |
setChildren(unot.NodeList children)
Describe setChildren method here. |
protected void |
setDocId(int id)
ノードの文書IDを設定する. |
protected void |
setLabelId(int id)
ノードのlabelIDを設定する. |
protected void |
setLeftMostChild(unot.UnotNode child)
Not used. |
protected void |
setNextSibling(unot.UnotNode next)
Not used. |
protected void |
setNodeId(int id)
ノードのIDを設定する. |
protected void |
setParent(unot.UnotNode parent)
Describe setParent method here. |
java.lang.String |
toString()
Retrieve a tree like String representation of the object. |
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
フィールドの詳細 |
public static final int UNDEF_ID
protected int docId
protected int nodeId
protected int labelId
protected int catId
protected unot.UnotNode parent
protected unot.NodeList children
protected unot.UnotNode leftMostChild
protected unot.UnotNode nextSibling
コンストラクタの詳細 |
public UnotNode()
UnotNode
instance.
public UnotNode(int nodeId)
UnotNode
instance.
nodeId
- an int
valuepublic UnotNode(int docId, int nodeId)
UnotNode
instance.
docId
- an int
valuenodeId
- an int
valuepublic UnotNode(int docId, int nodeId, int labelId)
UnotNode
instance.
docId
- an int
valuenodeId
- an int
valuelabelId
- an int
valueメソッドの詳細 |
public int getNodeId()
public int getDocId()
public int getCatId()
public int getLabelId()
protected void setLabelId(int id)
protected void setNodeId(int id)
protected void setDocId(int id)
protected void setCatId(int id)
public unot.UnotNode getParent()
getParent
method here.
UnotNode
valueprotected void setParent(unot.UnotNode parent)
setParent
method here.
parent
- an UnotNode
valuepublic unot.NodeList getChildren()
getChildren
method here.
UnotNode[]
valueprotected void setChildren(unot.NodeList children)
setChildren
method here.
children
- a String[]
valuepublic void addChildAtLast(unot.UnotNode child)
public unot.UnotNode getLeftMostChild()
getLeftMostChild
method here.
UnotNode
valueprotected void setLeftMostChild(unot.UnotNode child)
setLeftMostChild
method here.
child
- an UnotNode
valuepublic unot.UnotNode getNextSibling()
getNextSibling
method here.
UnotNode
valueprotected void setNextSibling(unot.UnotNode next)
setNextSibling
method here.
next
- an UnotNode
valuepublic java.lang.String toString()
java.lang.Object
内の toString
String
value
|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |