public class LinkPair<T> extends Object
Modifier and Type | Field and Description |
---|---|
protected T |
egressLink |
protected T |
ingressLink |
Constructor and Description |
---|
LinkPair() |
Modifier and Type | Method and Description |
---|---|
boolean |
exists() |
T |
getInLink() |
T |
getOutLink() |
void |
removeInLink()
Remove inbound link (sets it to null).
|
void |
removeOutLink()
Removes outbound link (sets it to null).
|
void |
setInLink(T link) |
void |
setOutLink(T link) |
String |
toString() |
public void setInLink(T link)
public void setOutLink(T link)
public void removeInLink()
public void removeOutLink()
public T getInLink()
public T getOutLink()
public boolean exists()
Copyright © 2015. All rights reserved.