public void Flip(int index)
{
if (runArray.Count == 0)
{
runArray.Add(new Run(index, index));
}
else
{
if (this.Get(index) == true)
{
this.Set(index, false);
}
else
{
this.Set(index, true);
}
}
}
RLEBitset::Flip ( int start, int end ) : void |