/**
 * hashCode that combines two strings
 * @return a hash code value on the pair of strings.
 */
public int hashCode()
   {
   int result = 17;
   result = 37 * result + string1.hashCode();
   result = 37 * result + string2.hashCode();
   // etc for all fields in the object
   return result;
   }