@Test public void testEquals() { EqualsVerifier.forClass(Paging.class) .verify(); }
@Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; Paging paging = (Paging) o; return getSize() == paging.getSize() && getNumber() == paging.getNumber() && getTotalElements() == paging.getTotalElements() && getTotalPages() == paging.getTotalPages(); }
Paging { @Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; Paging paging = (Paging) o; return getSize() == paging.getSize() && getNumber() == paging.getNumber() && getTotalElements() == paging.getTotalElements() && getTotalPages() == paging.getTotalPages(); } }
Paging { @Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; Paging paging = (Paging) o; return getSize() == paging.getSize() && getNumber() == paging.getNumber() && getTotalElements() == paging.getTotalElements() && getTotalPages() == paging.getTotalPages(); } @JsonCreator  Paging(@JsonProperty("size") int size, @JsonProperty("number") int number,
                  @JsonProperty("totalElements") int totalElements, @JsonProperty("totalPages") int totalPages); }
Paging { @Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; Paging paging = (Paging) o; return getSize() == paging.getSize() && getNumber() == paging.getNumber() && getTotalElements() == paging.getTotalElements() && getTotalPages() == paging.getTotalPages(); } @JsonCreator  Paging(@JsonProperty("size") int size, @JsonProperty("number") int number,
                  @JsonProperty("totalElements") int totalElements, @JsonProperty("totalPages") int totalPages); int getSize(); int getNumber(); int getTotalElements(); int getTotalPages(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString(); }
Paging { @Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; Paging paging = (Paging) o; return getSize() == paging.getSize() && getNumber() == paging.getNumber() && getTotalElements() == paging.getTotalElements() && getTotalPages() == paging.getTotalPages(); } @JsonCreator  Paging(@JsonProperty("size") int size, @JsonProperty("number") int number,
                  @JsonProperty("totalElements") int totalElements, @JsonProperty("totalPages") int totalPages); int getSize(); int getNumber(); int getTotalElements(); int getTotalPages(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString();  }