public boolean equals(Object other){
  if (!(other instanceof Name))   return false;
  Name o=(Name)other;
  return kind == o.kind && name.equals(o.name) && nsset.equals(o.nsset);
}

public boolean equals ( Object other ) { if ( ! ( other instanceof Name ) ) return false ; Name o = ( Name ) other ; return kind == o . kind && name . equals ( o . name ) && nsset . equals ( o . nsset ) ; }
exact equality . both names must have the same kind , name , and equal namespace sets .
