io.sphere.sdk.search.model.RangeFacetExpressionImpl Maven / Gradle / Ivy
package io.sphere.sdk.search.model;
import io.sphere.sdk.search.FacetExpression;
import io.sphere.sdk.search.RangeFacetExpression;
import javax.annotation.Nullable;
import java.util.function.Function;
class RangeFacetExpressionImpl> extends RangeExpression implements RangeFacetExpression {
RangeFacetExpressionImpl(final SearchModel searchModel, final Function typeSerializer, final Iterable extends Range> ranges, @Nullable final String alias) {
super(searchModel, typeSerializer, ranges, alias);
}
@Override
public boolean equals(Object o) {
return o != null && o instanceof FacetExpression && expression().equals(((FacetExpression) o).expression());
}
@Nullable
@Override
public String alias() {
return super.alias();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy