Colt 1.2.0

cern.colt.bitvector
Class BitVector

java.lang.Object
  extended bycern.colt.PersistentObject
      extended bycern.colt.bitvector.BitVector
All Implemented Interfaces:
Cloneable, Serializable

public class BitVector
extends PersistentObject

Fixed sized (non resizable) bitvector. Upon instance construction a bitvector is told to hold a fixed number of bits - it's size. The size can be any number (need not be a power of 2 or so). The bits of a BitVector are indexed by nonnegative integers. Any attempt to access a bit at an index<0 || index>=size() will throw an IndexOutOfBoundsException.

Individual indexed bits can be examined, set, or cleared. Subranges can quickly be extracted, copied and replaced. Quick iteration over subranges is provided by optimized internal iterators (forEach() methods). One BitVector may be used to modify the contents of another BitVector through logical AND, OR, XOR and other similar operations.

All operations consider the bits 0..size()-1 and nothing else. Operations involving two bitvectors (like AND, OR, XOR, etc.) will throw an IllegalArgumentException if the secondary bit vector has a size smaller than the receiver.

A BitVector is never automatically resized, but it can manually be grown or shrinked via setSize(...).

For use cases that need to store several bits per information entity, quick accessors are provided that interpret subranges as 64 bit long integers.

Why this class? Fist, boolean[] take one byte per stored bit. This class takes one bit per stored bit. Second, many applications find the semantics of java.util.BitSet not particularly helpful nge0000644000000000000000000000214411770027675024770 0ustar rootroot cern.colt.bitvector (Colt 1.2.0 - API Specification) cern.colt.bitvector

Classes 
BitMatrix
BitVector
QuickBitVector
./usr/share/doc/libcolt-java/api/cern/colt/bitvector/package-summary.html0000644000000000000000000001547711770027675025410 0ustar rootroot cern.colt.bitvector (Colt 1.2.0 - API Specification)
Colt 1.2.0

Package cern.colt.bitvector

Bit vectors and bit matrices.

See:
          Description

Class Summary
BitMatrix Fixed sized (non resizable) n*m bit matrix.
BitVector Fixed sized (non resizable) bitvector.
QuickBitVector Implements quick non polymorphic non bounds checking low level bitvector operations.
 

Package cern.colt.bitvector Description

Bit vectors and bit matrices.


Colt 1.2.0

Jump to the Colt Homepage ./usr/share/doc/libcolt-java/api/cern/colt/bitvector/BitVector.html0000644000000000000000000015257111770027675024220 0ustar rootroot BitVector (Colt 1.2.0 - API Specification)
Colt 1.2.0

cern.colt.bitvector
Class BitVector

java.lang.Object
  extended bycern.colt.PersistentObject
      extended bycern.colt.bitvector.BitVector
All Implemented Interfaces:
Cloneable, Serializable

public class BitVector
extends PersistentObject

Fixed sized (non resizable) bitvector. Upon instance construction a bitvector is told to hold a fixed number of bits - it's size. The size can be any number (need not be a power of 2 or so). The bits of a BitVector are indexed by nonnegative integers. Any attempt to access a bit at an index<0 || index>=size() will throw an IndexOutOfBoundsException.

Individual indexed bits can be examined, set, or cleared. Subranges can quickly be extracted, copied and replaced. Quick iteration over subranges is provided by optimized internal iterators (forEach() methods). One BitVector may be used to modify the contents of another BitVector through logical AND, OR, XOR and other similar operations.

All operations consider the bits 0..size()-1 and nothing else. Operations involving two bitvectors (like AND, OR, XOR, etc.) will throw an IllegalArgumentException if the secondary bit vector has a size smaller than the receiver.

A BitVector is never automatically resized, but it can manually be grown or shrinked via setSize(...).

For use cases that need to store several bits per information entity, quick accessors are provided that interpret subranges as 64 bit long integers.

Why this class? Fist, boolean[] take one byte per stored bit. This class takes one bit per stored bit. Second, many applications find the semantics of java.util.BitSet not particularly helpful nge0000644000000000000000000000214411770027675024770 0ustar rootroot cern.colt.bitvector (Colt 1.2.0 - API Specification) cern.colt.bitvector

Classes 
BitMatrix
BitVector
QuickBitVector
./usr/share/doc/libcolt-java/api/cern/colt/bitvector/package-summary.html0000644000000000000000000001547711770027675025410 0ustar rootroot cern.colt.bitvector (Colt 1.2.0 - API Specification)
Colt 1.2.0

Package cern.colt.bitvector

Bit vectors and bit matrices.

See:
          Description

Class Summary
BitMatrix Fixed sized (non resizable) n*m bit matrix.
BitVector Fixed sized (non resizable) bitvector.
QuickBitVector Implements quick non polymorphic non bounds checking low level bitvector operations.
 

Package cern.colt.bitvector Description

Bit vectors and bit matrices.


Colt 1.2.0

Jump to the Colt Homepage ./usr/share/doc/libcolt-java/api/cern/colt/bitvector/BitVector.html0000644000000000000000000015257111770027675024220 0ustar rootroot BitVector (Colt 1.2.0 - API Specification)
Colt 1.2.0

cern.colt.bitvector
Class BitVector

java.lang.Object
  extended bycern.colt.PersistentObject
      extended bycern.colt.bitvector.BitVector
All Implemented Interfaces:
Cloneable, Serializable

public class BitVector
extends PersistentObject

Fixed sized (non resizable) bitvector. Upon instance construction a bitvector is told to hold a fixed number of bits - it's size. The size can be any number (need not be a power of 2 or so). The bits of a BitVector are indexed by nonnegative integers. Any attempt to access a bit at an index<0 || index>=size() will throw an IndexOutOfBoundsException.

Individual indexed bits can be examined, set, or cleared. Subranges can quickly be extracted, copied and replaced. Quick iteration over subranges is provided by optimized internal iterators (forEach() methods). One BitVector may be used to modify the contents of another BitVector through logical AND, OR, XOR and other similar operations.

All operations consider the bits 0..size()-1 and nothing else. Operations involving two bitvectors (like AND, OR, XOR, etc.) will throw an IllegalArgumentException if the secondary bit vector has a size smaller than the receiver.

A BitVector is never automatically resized, but it can manually be grown or shrinked via setSize(...).

For use cases that need to store several bits per information entity, quick accessors are provided that interpret subranges as 64 bit long integers.

Why this class? Fist, boolean[] take one byte per stored bit. This class takes one bit per stored bit. Second, many applications find the semantics of java.util.BitSet not particularly helpful nge0000644000000000000000000000214411770027675024770 0ustar rootroot cern.colt.bitvector (Colt 1.2.0 - API Specification) cern.colt.bitvector

Classes 
BitMatrix
BitVector
QuickBitVector
./usr/share/doc/libcolt-java/api/cern/colt/bitvector/package-summary.html0000644000000000000000000001547711770027675025410 0ustar rootroot cern.colt.bitvector (Colt 1.2.0 - API Specification)
Colt 1.2.0

Package cern.colt.bitvector

Bit vectors and bit matrices.

See:
          Description

Class Summary
BitMatrix Fixed sized (non resizable) n*m bit matrix.
BitVector Fixed sized (non resizable) bitvector.
QuickBitVector Implements quick non polymorphic non bounds checking low level bitvector operations.
 

Package cern.colt.bitvector Description

Bit vectors and bit matrices.


Colt 1.2.0

Jump to the Colt Homepage ./usr/share/doc/libcolt-java/api/cern/colt/bitvector/BitVector.html0000644000000000000000000015257111770027675024220 0ustar rootroot BitVector (Colt 1.2.0 - API Specification)
Colt 1.2.0

cern.colt.bitvector
Class BitVector

java.lang.Object
  extended bycern.colt.PersistentObject
      extended bycern.colt.bitvector.BitVector
All Implemented Interfaces:
Cloneable, Serializable

public class BitVector
extends PersistentObject

Fixed sized (non resizable) bitvector. Upon instance construction a bitvector is told to hold a fixed number of bits - it's size. The size can be any number (need not be a power of 2 or so). The bits of a BitVector are indexed by nonnegative integers. Any attempt to access a bit at an index<0 || index>=size() will throw an IndexOutOfBoundsException.

Individual indexed bits can be examined, set, or cleared. Subranges can quickly be extracted, copied and replaced. Quick iteration over subranges is provided by optimized internal iterators (forEach() methods). One BitVector may be used to modify the contents of another BitVector through logical AND, OR, XOR and other similar operations.

All operations conside