public void Or(BitTrain bitTrain) { Trace.Assert(bitTrain.m_totalSeatCount == m_totalSeatCount); for (int i = 0; i < m_train.Length; ++i) { m_train[i] |= bitTrain.m_train[i]; } }
public void Clear() { int size = m_ids.TotalSeatCount; m_ids = new BitTrain(size); }
public IdGenerator(int size) { m_ids = new BitTrain(size); }