Package com.landawn.abacus.util
Class Primitives.Booleans
- java.lang.Object
-
- com.landawn.abacus.util.Primitives.Booleans
-
- Enclosing class:
- Primitives
public static final class Primitives.Booleans extends Object
The Class Booleans.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
invert(boolean[] a)
Inverts the element fromfromIndex
totoIndex
: set it totrue
if it'sfalse
, or set it tofalse
if it'strue
.static void
invert(boolean[] a, int fromIndex, int toIndex)
Inverts the element fromfromIndex
totoIndex
: set it totrue
if it'sfalse
, or set it tofalse
if it'strue
.
-
-
-
Method Detail
-
invert
public static void invert(boolean[] a)
Inverts the element fromfromIndex
totoIndex
: set it totrue
if it'sfalse
, or set it tofalse
if it'strue
.- Parameters:
a
-
-
invert
public static void invert(boolean[] a, int fromIndex, int toIndex)
Inverts the element fromfromIndex
totoIndex
: set it totrue
if it'sfalse
, or set it tofalse
if it'strue
.- Parameters:
a
-fromIndex
-toIndex
-
-
-