io.sphere.sdk.search.TermFacetExpression Maven / Gradle / Ivy
package io.sphere.sdk.search;
import javax.annotation.Nullable;
import static java.util.Collections.emptyList;
public class TermFacetExpression extends TermExpression implements FacetExpressionBase {
TermFacetExpression(final SearchModel searchModel, final TypeSerializer typeSerializer, @Nullable final String alias) {
super(searchModel, typeSerializer, emptyList(), alias);
}
@Override
public boolean equals(Object o) {
return o != null && o instanceof FacetExpression && toSearchExpression().equals(((FacetExpression) o).toSearchExpression());
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy