You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Henri Yandell <ba...@generationjava.com> on 2002/11/23 02:54:48 UTC

[lang] ToggleEnum

or BooleanEnum or something. Basically an enum with only two options that
has a toggle method between the two.

Just an idea :)

Hen

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: [lang] ToggleEnum

Posted by Stephen Colebourne <sc...@btopenworld.com>.
I've added a negate(Boolean) method to BooleanUtils to cover this ;-)
Stephen

----- Original Message -----
From: "Henri Yandell" <ba...@generationjava.com>
> or BooleanEnum or something. Basically an enum with only two options that
> has a toggle method between the two.
>
> Just an idea :)
>
> Hen
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>