code: public static Integer toIntegerObject(final boolean bool, final Integer trueValue, final Integer falseValue) {
          return bool ? trueValue : falseValue;
      }
docs: <p>Converts a boolean to an Integer specifying the conversion values.</p>
  
  <pre>
  BooleanUtils.toIntegerObject(true, Integer.valueOf(1), Integer.valueOf(0))  = Integer.valueOf(1)
  BooleanUtils.toIntegerObject(false, Integer.valueOf(1), Integer.valueOf(0)) = Integer.valueOf(0)
  </pre>
  
  @param bool  the to convert
  @param trueValue  the value to return if {@code true}, may be {@code null}
  @param falseValue  the value to return if {@code false}, may be {@code null}
  @return the appropriate value