|
JGraph
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jgraph.algebra.JGraphUnionFind.Node
public class JGraphUnionFind.Node
A class that defines the identity of a set.
Field Summary | |
---|---|
protected JGraphUnionFind.Node |
parent
Reference to the parent node. |
protected int |
size
The size of the tree. |
Constructor Summary | |
---|---|
JGraphUnionFind.Node()
|
Method Summary | |
---|---|
JGraphUnionFind.Node |
getParent()
|
int |
getSize()
|
void |
setParent(JGraphUnionFind.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 JGraphUnionFind.Node parent
protected int size
Constructor Detail |
---|
public JGraphUnionFind.Node()
Method Detail |
---|
public JGraphUnionFind.Node getParent()
public void setParent(JGraphUnionFind.Node parent)
parent
- the parent node to setpublic int getSize()
public void setSize(int size)
size
- The size to set.
|
JGraph
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |