• https://doi.org/10.1017/cbo9780511804793.007Copy DOI Icon

The BitArray Class

  • Mar 26, 2007
  • Michael Mcmillan
Show More
  • Abstract
  • Literature Map
  • Similar Papers
Abstract

The BitArray class is used to represent sets of bits in a compact fashion. Bit sets can be stored in regular arrays, but we can create more efficient programs if we use data structures specifically designed for bit sets. In this chapter, we'll look at how to use this data structure and examine some problems that can be solved using sets of bits. The chapter also includes a review of the binary numbers, the bitwise operators, and the bitshift operators.

Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.