public static class Link.End
extends java.lang.Object
implements java.lang.Comparable
| Constructor and Description |
|---|
End(java.lang.String name)
Constructs.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(java.lang.Object that)
Compares this end to another end.
|
java.lang.String |
getName()
Gets the name of this end of the link.
|
public End(java.lang.String name)
name - The name of the end of the link.public java.lang.String getName()
public int compareTo(java.lang.Object that)
compareTo in interface java.lang.Comparablethat - The other end.