public static <E, R> R ifelse(Optional<E> condition, Function<E, R> trueMap, R falseValue) {
		if (condition.isPresent()) {
			return trueMap.apply(condition.get());
		} else {
			return falseValue;
		}
	}
If the condition is present, the true-function will be called
with its value and the result will be returned. Else the
false-value will be returned.
@param <E> The inner type of the condition.
@param <R> The result type.
@param condition The condition to be evaluated for presence.
@param trueMap The function that will be called if present.
@param falseValue The value returned if the condition is not present.
@return The value.
common-parent/codegen/src/main/java/com/speedment/common/codegen/util/Formatting.java