type
BoolArray
Optimized fixed size array of booleans packed into words of 32-bits. The array values default to false.
constructors
make |
Create a array of given size |
---|
methods
clear |
Set entire array to false |
---|---|
copyFrom |
Copy the booleans from |
eachTrue |
Iterate each index set to true |
fill |
Fill this array with the given boolean value. |
get |
Get the boolean at the given index. |
getAndSet |
Set the value at given index and return the previous value. |
set |
Set the boolean at the given index. |
size |
Get number of booleans in the array |