@Override
    public int hashCode() {
        return 31 * getInterval() + getBounds();
    }
Checks if a value is contained within the specified bounds.
@param value Value to check against
@return true if value is contained within the specified bounds
predicate-search/src/main/java/com/yahoo/search/predicate/index/IntervalWithBounds.java