public boolean equals()

in geoentitylinker-addon/src/main/java/opennlp/addons/geoentitylinker/CountryContextEntry.java [95:116]


  public boolean equals(Object obj) {
    if (obj == null) {
      return false;
    }
    if (getClass() != obj.getClass()) {
      return false;
    }
    final CountryContextEntry other = (CountryContextEntry) obj;
    if (!Objects.equals(this.rc, other.rc)) {
      return false;
    }
    if (!Objects.equals(this.cc1, other.cc1)) {
      return false;
    }
    if (!Objects.equals(this.full_name_nd_ro, other.full_name_nd_ro)) {
      return false;
    }
    if (!Objects.equals(this.dsg, other.dsg)) {
      return false;
    }
    return true;
  }