hashCode property

  1. @override
int hashCode
override
Serves as a hash function for a particular type.

Implementation

@override
int get hashCode {
  if (!StringUtils.IsNullOrEmpty(this.Address)) {
    int hashCode = this.Address.hashCode;

    if (!StringUtils.IsNullOrEmpty(this.RoutingType)) {
      hashCode ^= this.RoutingType.hashCode;
    }

    return hashCode;
  } else {
    return super.hashCode;
  }
}