
/**
 * Name.java
 *
 *
 * Created: Thu Nov 14 22:52:24 2002
 *
 * @author <a href="mailto:bina@cse.buffalo.edu "</a>
 * @version
 */

public class Name {
   String first; String last;
   public Name (String f, String l){
      first = f;
      last = l;
   }
   
   public int hashCode()
   {
      return (first.hashCode() + last.hashCode());
   }

   boolean equals(Name other)
   {
      return((first.equals(other.first)) && (last.equals(other.last)));
   }

   public String toString()
   {
      return (first + " " + last);
   }

}// Name


