@Override
    public boolean equals(Object o) {
        if (o == this) return true;
        if (! (o instanceof DimensionBinding)) return false;
        DimensionBinding other = (DimensionBinding)o;
        if ( ! this.dimensions.equals(other.dimensions)) return false;
        if ( ! this.values.equals(other.values)) return false;
        return true;
    }
Two bindings are equal if they contain the same dimensions and the same non-null values
container-search/src/main/java/com/yahoo/search/query/profile/DimensionBinding.java