Java Utililty Methods Boolean Invert

List of utility methods to do Boolean Invert

Description

The list of methods to do Boolean Invert are organized into topic(s).

Method

booleaninvert(boolean b)
Inverts the boolean input (true, false).
Namely, if the input is true returns false and if the input is false returns true.
return !b;
booleaninvertLogic(final boolean logic, final boolean invert)
Invert logic if specified
return logic ^ invert;