2005/5/9

     
 

class BitSet

artefaktur
Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   Namespace Members   Compound Members   Related Pages  

acdk::util::BitSet Class Reference

#include <BitSet.h>

Inheritance diagram for acdk::util::BitSet:

acdk::lang::Object acdk::lang::Cloneable acdk::io::Serializable acdk::lang::ObjectBase acdk::lang::dmi::StdDispatch List of all members.

Detailed Description

API: Java<br/>.

Author:
Roger Rene Kommer (mailto:kommer@artefaktur.com)
Version:
Revision
1.13
Date:
Date
2005/04/09 19:26:56


Public Member Functions

 BitSet ()
 BitSet (int nBits)
 ~BitSet ()
void bit_and (IN(RBitSet) set)
void bit_xor (IN(RBitSet) set)
void bit_or (IN(RBitSet) set)
void andNot (IN(RBitSet) set)
void clear (int bit) throw ( RArrayIndexOutOfBoundsException )
virtual acdk::lang::Object clone ()
virtual acdk::lang::Object clone (sys::Allocator *alc)
bool equals (IN(acdk::lang::Object) obj)
 Normally check for equality (not identity) Object::equals() is true only if both objects are the same instance.

bool get (int bitIndex)
int hashCode ()
int length ()
void set (int bitIndex)
int size ()
RString toString ()
 return a string representation of this object Object::toString() return getName() by default

RcharArray getBits ()

Private Member Functions

void grow (int toSize)

Private Attributes

RcharArray _bits


Constructor & Destructor Documentation

acdk::util::BitSet::BitSet (   ) 
 

acdk::util::BitSet::BitSet (  int  nBits  ) 
 

acdk::util::BitSet::~BitSet (   ) 
 


Member Function Documentation

void acdk::util::BitSet::andNot (  IN(RBitSet)  set  ) 
 

void acdk::util::BitSet::bit_and (  IN(RBitSet)  set  ) 
 

void acdk::util::BitSet::bit_or (  IN(RBitSet)  set  ) 
 

void acdk::util::BitSet::bit_xor (  IN(RBitSet)  set  ) 
 

void acdk::util::BitSet::clear (  int  bit  )  throw ( RArrayIndexOutOfBoundsException )
 

virtual acdk::lang::Object acdk::util::BitSet::clone (  sys::Allocator *  alc  )  [virtual]
 

Reimplemented from acdk::lang::Cloneable.

virtual acdk::lang::Object acdk::util::BitSet::clone (   )  [inline, virtual]
 

Implements acdk::lang::Cloneable.

bool acdk::util::BitSet::equals (  IN(acdk::lang::Object)  obj  )  [virtual]
 

Normally check for equality (not identity) Object::equals() is true only if both objects are the same instance.

See also:
serialized_equals()

Reimplemented from acdk::lang::Object.

bool acdk::util::BitSet::get (  int  bitIndex  ) 
 

RcharArray acdk::util::BitSet::getBits (   ) 
 

void acdk::util::BitSet::grow (  int  toSize  )  [private]
 

int acdk::util::BitSet::hashCode (   )  [virtual]
 

See also:
serialized_hashCode

Reimplemented from acdk::lang::Object.

int acdk::util::BitSet::length (   ) 
 

void acdk::util::BitSet::set (  int  bitIndex  ) 
 

int acdk::util::BitSet::size (   ) 
 

RString acdk::util::BitSet::toString (   )  [virtual]
 

return a string representation of this object Object::toString() return getName() by default

Reimplemented from acdk::lang::Object.


Member Data Documentation

RcharArray acdk::util::BitSet::_bits [private]