public class Link
extends java.lang.Object
implements java.lang.Comparable
| Modifier and Type | Class and Description |
|---|---|
static class |
Link.End
Provides support for the end of a Link.
|
| Constructor and Description |
|---|
Link(Link.End end1,
Link.End end2)
Constructs.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(java.lang.Object link)
Compares one Link to another.
|
Link.End |
getFirstEnd()
Gets the first Link.End.
|
Link.End |
getSecondEnd()
Gets the second Link.End.
|
public Link.End getFirstEnd()
public Link.End getSecondEnd()
public int compareTo(java.lang.Object link)
compareTo in interface java.lang.Comparablelink - The other Link.