urv.olsr.data.duplicate
Class DuplicateTableEntry

java.lang.Object
  extended by urv.olsr.data.duplicate.DuplicateTableEntry
All Implemented Interfaces:
java.lang.Cloneable

public class DuplicateTableEntry
extends java.lang.Object
implements java.lang.Cloneable

Key of the DuplicateTable. It must contain information about the most recently received messages where duplicate processing is to be avoided.

Author:
Gerard Paris Aixala

Constructor Summary
DuplicateTableEntry(OLSRNode originatorAddr, SequenceNumber msgSeqNum)
           
 
Method Summary
 java.lang.Object clone()
           
 boolean equals(java.lang.Object obj)
          Checks whether two entries are equal
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DuplicateTableEntry

public DuplicateTableEntry(OLSRNode originatorAddr,
                           SequenceNumber msgSeqNum)
Method Detail

clone

public java.lang.Object clone()
Overrides:
clone in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Checks whether two entries are equal

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object