Top "Bitset" questions

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

Auto increment in MongoDB to store sequence of Unique User ID

I am making a analytics system, the API call would provide a Unique User ID, but it's not in sequence …

mongodb auto-increment uniqueidentifier bitset bitarray
Java BitSet Example

I'm looking for a good Java BitSet example to work with 0 and 1s. I tried looking at the Javadocs but …

java bitset
BitSet to and from integer/long

If I have an integer that I'd like to perform bit manipulation on, how can I load it into a …

java bit-manipulation bitset
convert bitset to int in c++

In c++. I initialize a bitset to -3 like: std::bitset<32> mybit(-3); Is there a grace way …

c++ bitset
How to create SortedSet (e.g. TreeSet) for elements of type BitSet

I have a number (power(2,k)) of BitSet objects and I want to store them in a SortedSet. I use …

java classcastexception comparable bitset
What is the performance of std::bitset?

I recently asked a question on Programmers regarding reasons to use manual bit manipulation of primitive types over std::bitset. …

c++ performance bitset
How to implement a bitset in C?

I have been using the Bitset class in Java and I would like to do something similar in C. I …

c bitset
Why there isn't a single bit data type in C/C++?

For bool, it's 8 bit while has only true and false, why don't they make it single bit. And I know …

c++ c boolean bitset
Define bitset size at initialization?

I want to make a bitset in C++. I did a bit of research. All examples I found where like …

c++ bitset
Implementing a C style bitfield in Java

I have a problem that I am a bit stuck on and I was informed by a colleague that this …

java bit-fields bitset