|
JGraph X 1.3.0.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.mxgraph.analysis.mxUnionFind.Node
public class mxUnionFind.Node
A class that defines the identity of a set.
Field Summary | |
---|---|
protected mxUnionFind.Node |
parent
Reference to the parent node. |
protected int |
size
The size of the tree. |
Constructor Summary | |
---|---|
mxUnionFind.Node()
|
Method Summary | |
---|---|
mxUnionFind.Node |
getParent()
|
int |
getSize()
|
void |
setParent(mxUnionFind.Node parent)
|
void |
setSize(int size)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected mxUnionFind.Node parent
protected int size
Constructor Detail |
---|
public mxUnionFind.Node()
Method Detail |
---|
public mxUnionFind.Node getParent()
public void setParent(mxUnionFind.Node parent)
parent
- The parent node to set.public int getSize()
public void setSize(int size)
size
- The size to set.
|
JGraph X 1.3.0.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |