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

io.sphere.sdk.search.model.RangeFacetExpressionImpl Maven / Gradle / Ivy

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