public boolean equals(Object o){
  if (o instanceof Name) {
    Comparator<String> c=ASCIICaseInsensitiveComparator.CASE_INSENSITIVE_ORDER;
    return c.compare(name,((Name)o).name) == 0;
  }
 else {
    return false;
  }
}

public boolean equals ( Object o ) { if ( o instanceof Name ) { Comparator < String > c = ASCIICaseInsensitiveComparator . CASE_INSENSITIVE_ORDER ; return c . compare ( name , ( ( Name ) o ) . name ) == 0 ; } else { return false ; } }
compares this attribute name to another for equality .
