This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes bitset Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "bitset " Watch "bitset " New topic


Anuj Goyal

Joined: Dec 27, 2000
Posts: 2
what is bitset?
Latha Kalaga
Ranch Hand

Joined: Nov 13, 2000
Posts: 96
Hi! Anuj
I guess you are asking what is a BitSet class.???
As per the API documentation here is what it states:
" This class implements a vector of bits that grows as needed. Each component of the bit set has a boolean value. The bits of a BitSet are indexed by nonnegative integers. Individual indexed bits can be examined, set, or cleared. One BitSet may be used to modify the contents of another BitSet through logical AND, logical inclusive OR, and logical exclusive OR operations.
By default, all bits in the set initially have the value false.
Every bit set has a current size, which is the number of bits currently in the bit set. "
Hope this helps.

[This message has been edited by Latha Kalaga (edited February 01, 2001).]
rocket mass heater kickstarter
subject: bitset