On Mon, Jul 8, 2024 at 4:30 AM Jurgen Doll <jur...@ivoryemr.co.za> wrote:
> In addition I'd still very much like to have "apply" API that takes a > boolean parameter as well. For simple cases this will allow user code to > be more concise without the ternary pattern clutter. > Hi Jurgen! In general, I'd like to avoid using boolean parameters unless you are actually setting a boolean, like setEnabled(). I'm not sure how you intended to use the boolean, but I think an enum or better-named method is better. mrg