@Override public boolean equals(Object obj){
  if (obj == null) {
    return false;
  }
  if (getClass() != obj.getClass()) {
    return false;
  }
  final NameForRequest other=(NameForRequest)obj;
  if (!Objects.equals(this.name,other.name)) {
    return false;
  }
  return true;
}

@ Override public boolean equals ( Object obj ) { if ( obj == null ) { return false ; } if ( getClass ( ) != obj . getClass ( ) ) { return false ; } final NameForRequest other = ( NameForRequest ) obj ; if ( ! Objects . equals ( this . name , other . name ) ) { return false ; } return true ; }
objects are considered equal if they have the same name for request .
