info.jedi.net
Class LocationID

java.lang.Object
  |
  +--info.jedi.net.LocationID

public class LocationID
extends java.lang.Object

class LocationID uniquely identifies a internet address and port that a ReliableHandler has been communicating with. It is used to hash CommunicationPorts in a table to make sure they aren't duplicated.


Method Summary
 boolean equals(java.lang.Object obj)
          Compares two LocationIDs for equality
 int hashCode()
          Returns a hash value for this LocationID based on all of its members
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

equals

public boolean equals(java.lang.Object obj)
Compares two LocationIDs for equality
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Returns a hash value for this LocationID based on all of its members
Overrides:
hashCode in class java.lang.Object