code: public void verifyContained(V value) throws ValueOutOfRangeException {
  
      if (!isContained(value)) {
        throw new ValueOutOfRangeException(null, value, this.min, this.max);
      }
    }
docs: This method verifies that the given {@code value} is {@link #isContained(Object) contained in this range} .
  
  @param value is the value to check.
  @throws ValueOutOfRangeException if not {@link #isContained(Object) contained}.