All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.sphere.sdk.search.SearchSortBase Maven / Gradle / Ivy

There is a newer version: 1.0.0-M26
Show newest version
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