@Override
    public boolean equals(Object o) {
        if (o == this) return true;
        if ( ! (o instanceof BucketValue)) return false;

        BucketValue other = (BucketValue)o;
        if ( ! Objects.equals(this.from, other.from)) return false;
        if ( ! Objects.equals(this.to, other.to)) return false;
        return true;
    }
Returns the exclusive-to value of this bucket.

@return The to-value.
container-search/src/main/java/com/yahoo/search/grouping/request/BucketValue.java