@Test public void test_equals_02() { SortField sf0 = new SortField("foo"); SortField sf1 = new SortField("foo.bar.soap"); assertFalse("01", sf0.equals(sf1)); }
@Override public boolean equals(Object obj) { if (this == obj) { return true; } if (obj == null || !(obj instanceof SortField)) { return false; } SortField other = (SortField) obj; return path.equals(other.path) && ApiUtil.equals(sortOrder, other.sortOrder, ASC); }
SortField { @Override public boolean equals(Object obj) { if (this == obj) { return true; } if (obj == null || !(obj instanceof SortField)) { return false; } SortField other = (SortField) obj; return path.equals(other.path) && ApiUtil.equals(sortOrder, other.sortOrder, ASC); } }
SortField { @Override public boolean equals(Object obj) { if (this == obj) { return true; } if (obj == null || !(obj instanceof SortField)) { return false; } SortField other = (SortField) obj; return path.equals(other.path) && ApiUtil.equals(sortOrder, other.sortOrder, ASC); } SortField(String path);  SortField(Path path);  SortField(String path, SortOrder sortOrder);   SortField(SortField other); @JsonCreator  SortField(@JsonProperty("path") Path path,
			@JsonProperty("sortOrder") SortOrder sortOrder); }
SortField { @Override public boolean equals(Object obj) { if (this == obj) { return true; } if (obj == null || !(obj instanceof SortField)) { return false; } SortField other = (SortField) obj; return path.equals(other.path) && ApiUtil.equals(sortOrder, other.sortOrder, ASC); } SortField(String path);  SortField(Path path);  SortField(String path, SortOrder sortOrder);   SortField(SortField other); @JsonCreator  SortField(@JsonProperty("path") Path path,
			@JsonProperty("sortOrder") SortOrder sortOrder); Path getPath(); SortOrder getSortOrder(); boolean isAscending(); @Override boolean equals(Object obj); @Override int hashCode(); @Override String toString(); }
SortField { @Override public boolean equals(Object obj) { if (this == obj) { return true; } if (obj == null || !(obj instanceof SortField)) { return false; } SortField other = (SortField) obj; return path.equals(other.path) && ApiUtil.equals(sortOrder, other.sortOrder, ASC); } SortField(String path);  SortField(Path path);  SortField(String path, SortOrder sortOrder);   SortField(SortField other); @JsonCreator  SortField(@JsonProperty("path") Path path,
			@JsonProperty("sortOrder") SortOrder sortOrder); Path getPath(); SortOrder getSortOrder(); boolean isAscending(); @Override boolean equals(Object obj); @Override int hashCode(); @Override String toString(); static final Path SORT_FIELD_SCORE; }