urv.olsr.data.topology
Class OLSRNodePair
java.lang.Object
urv.olsr.data.topology.OLSRNodePair
public class OLSRNodePair
- extends java.lang.Object
This class represents a pair of OLSR nodes, which will be used for storing
topology information in the TopologyInformationBaseTable
- Author:
- Marcel Arrufat Arias
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
OLSRNodePair
public OLSRNodePair(OLSRNode originator,
OLSRNode advertised)
clone
public java.lang.Object clone()
- Overrides:
clone
in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
getAdvertised
public OLSRNode getAdvertised()
- Returns:
- Returns the advertised.
getOriginator
public OLSRNode getOriginator()
- Returns:
- Returns the originator.
setAdvertised
public void setAdvertised(OLSRNode advertised)
- Parameters:
advertised
- The advertised to set.
setOriginator
public void setOriginator(OLSRNode originator)
- Parameters:
originator
- The originator to set.