code: private boolean isWithinRange(T value) {
          if (getMinInclusive() != null
                  && compareTo(getMinInclusive(), value) > 0) {
              return false;
          }
          if (getMaxInclusive() != null
                  && compareTo(getMaxInclusive(), value) < 0) {
              return false;
          }
          return true;
      }
docs: Check value against required range (if any).
  
  @param value the value that must fall within the range
  @return false if value is outside the range