public final class LinkKey extends Object
Modifier and Type | Method and Description |
---|---|
String |
asId()
Returns a string suitable to be used as an identifier.
|
ConnectPoint |
dst()
Returns destination connection point.
|
boolean |
equals(Object obj) |
int |
hashCode() |
static LinkKey |
linkKey(ConnectPoint src,
ConnectPoint dst)
Creates a link identifier with source and destination connection point.
|
static LinkKey |
linkKey(Link link)
Creates a link identifier for the specified link.
|
static LinkKey |
linkKey(LinkDescription link)
Creates a link identifier for the specified link.
|
ConnectPoint |
src()
Returns source connection point.
|
String |
toString() |
public ConnectPoint src()
public ConnectPoint dst()
public String asId()
public static LinkKey linkKey(ConnectPoint src, ConnectPoint dst)
src
- source connection pointdst
- destination connection pointpublic static LinkKey linkKey(Link link)
link
- link descriptorpublic static LinkKey linkKey(LinkDescription link)
link
- Description