public boolean equals()

in exercises/java/add-esdk-start/src/main/java/sfw/example/esdkworkshop/datamodel/BaseItem.java [80:89]


  public boolean equals(Object other) {
    if (other == null) {
      return false;
    }
    if (this.getClass().equals(other.getClass())) {
      BaseItem i = (BaseItem) other;
      return this.partitionKey.equals(i.partitionKey) && this.sortKey.equals(i.sortKey);
    }
    return false;
  }