public boolean equals()

in appengine-java8/guestbook-cloud-datastore/src/main/java/com/example/guestbook/Greeting.java [96:109]


  public boolean equals(Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    Greeting greeting = (Greeting) o;
    return Objects.equals(key, greeting.key)
        && Objects.equals(authorEmail, greeting.authorEmail)
        && Objects.equals(authorId, greeting.authorId)
        && Objects.equals(content, greeting.content)
        && Objects.equals(date, greeting.date);
  }