@Override
  public boolean equals(Object obj)
  { if(obj instanceof Pair)
    { Pair that=(Pair)obj;
      { return (this.s.equals(that.s)&&this.t.equals(that.t));}
    }
    else { return false;}
  }