io.sphere.sdk.search.SearchSortBase Maven / Gradle / Ivy
package io.sphere.sdk.search;
import io.sphere.sdk.models.Base;
abstract class SearchSortBase extends Base implements SearchSort {
@Override
public final boolean equals(Object o) {
return o != null && o instanceof SearchSort && toSphereSort().equals(((SearchSort) o).toSphereSort());
}
@Override
public final int hashCode() {
return toSphereSort().hashCode();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy