class util::BoolArray

sys::Obj
  util::BoolArray

@Js

clear

This clear()

Set entire array to false

copyFrom

This copyFrom(BoolArray that, Int thatOffset, Int thisOffset, Int length)

eachTrue

Void eachTrue(Func<Void,Int> f)

Iterate each index set to true

fill

This fill(Bool val, Int times)

get

@Operator
Bool get(Int pos)

getAndSet

Bool getAndSet(Int pos, Bool val)

Set the value at given index and return the previous value.

make

new make(Int size)

realloc

BoolArray realloc(Int newSize)

set

@Operator
Void set(Int pos, Bool val)

size

Int size()