public class GraphLink
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
void |
merge(GraphLink other)
Merges another link into this link
|
java.lang.String |
toString() |
void |
update()
Increases value by 1
|
int |
Value() |
public GraphLink()
public GraphLink(int value)
value - >= 0public void update()
public int Value()
public void merge(GraphLink other)
other - linkpublic java.lang.String toString()
toString in class java.lang.Object