public boolean equals(Object o){
  if (o instanceof LDAPRoles) {
    LDAPRoles roles=(LDAPRoles)o;
    if ((selectedRoleDNs != null) && (roles.selectedRoleDNs != null) && (selectedRoleDNs.equals(roles.selectedRoleDNs))) {
      return true;
    }
  }
  return false;
}

public boolean equals ( Object o ) { if ( o instanceof LDAPRoles ) { LDAPRoles roles = ( LDAPRoles ) o ; if ( ( selectedRoleDNs != null ) && ( roles . selectedRoleDNs != null ) && ( selectedRoleDNs . equals ( roles . selectedRoleDNs ) ) ) { return true ; } } return false ; }
indicates whether some other object is " equal to " this one .
