net.clackrouter.ethereal
Class Pair

java.lang.Object
  extended by net.clackrouter.ethereal.Pair

public class Pair
extends java.lang.Object


Field Summary
 java.lang.String first
           
 java.lang.Integer second
           
 
Constructor Summary
Pair(java.lang.String a, java.lang.Integer b)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 int hashCode()
          hashCode that combines two strings
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

first

public java.lang.String first

second

public java.lang.Integer second
Constructor Detail

Pair

public Pair(java.lang.String a,
            java.lang.Integer b)
Method Detail

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
hashCode that combines two strings

Overrides:
hashCode in class java.lang.Object
Returns:
a hash code value on the pair of strings.

toString

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