Questions tagged [bitset]

A collection of bits organized as an array of bits, in which each bit can be accessed separately. For C++ bitsets, prefer the tag std-bitset

A collection of bits organized as an array of bits, in which each bit can be accessed separately.

Usage guidelines:

Related tags, with slighly differences:

751 questions
-9
votes
3 answers

Why Bitset allows values distinct from 1 and 0?

I try to learn BitSet collection in java. I have read that it uses bits inside. Each * component of the bit set has a {@code boolean} value I wrote a small application: BitSet bitSet = new…
gstackoverflow
  • 36,709
  • 117
  • 359
  • 710
1 2 3
50
51