C# Class Lucene.Net.Spatial.Util.FixedBitSet

Inheritance: Lucene.Net.Search.DocIdSet, IBits
ファイルを表示 Open project: synhershko/lucene.net Class Usage Examples

Public Methods

Method Description
And ( FixedBitSet other ) : void
AndNot ( FixedBitSet other ) : void
Bits ( ) : IBits
Cardinality ( ) : int

Returns number of set bits. NOTE: this visits every long in the backing bits array, and the result is not internally cached!

Clear ( int index ) : void
Clear ( int startIndex, int endIndex ) : void
Clone ( ) : FixedBitSet
Equals ( Object o ) : bool
FixedBitSet ( FixedBitSet other ) : System

Makes full copy.

FixedBitSet ( int numBits ) : System
Get ( int index ) : bool
GetAndClear ( int index ) : bool
GetAndSet ( int index ) : bool
GetHashCode ( ) : int
Iterator ( ) : DocIdSetIterator
Length ( ) : int
NextSetBit ( int index ) : int

Returns the index of the first set bit starting at the index specified. -1 is returned if there are no more set bits.

Or ( FixedBitSet other ) : void
PrevSetBit ( int index ) : int
Set ( int index ) : void
Set ( int startIndex, int endIndex ) : void
bits2words ( int numBits ) : int

returns the number of 64 bit words it would take to hold numBits

Private Methods

Method Description
And ( BitArray otherArr, int otherLen ) : void
AndNot ( BitArray otherArr, int otherLen ) : void
Or ( BitArray otherArr, int otherLen ) : void

Method Details

And() public method

public And ( FixedBitSet other ) : void
other FixedBitSet
return void

AndNot() public method

public AndNot ( FixedBitSet other ) : void
other FixedBitSet
return void

Bits() public method

public Bits ( ) : IBits
return IBits

Cardinality() public method

Returns number of set bits. NOTE: this visits every long in the backing bits array, and the result is not internally cached!
public Cardinality ( ) : int
return int

Clear() public method

public Clear ( int index ) : void
index int
return void

Clear() public method

public Clear ( int startIndex, int endIndex ) : void
startIndex int
endIndex int
return void

Clone() public method

public Clone ( ) : FixedBitSet
return FixedBitSet

Equals() public method

public Equals ( Object o ) : bool
o Object
return bool

FixedBitSet() public method

Makes full copy.
public FixedBitSet ( FixedBitSet other ) : System
other FixedBitSet
return System

FixedBitSet() public method

public FixedBitSet ( int numBits ) : System
numBits int
return System

Get() public method

public Get ( int index ) : bool
index int
return bool

GetAndClear() public method

public GetAndClear ( int index ) : bool
index int
return bool

GetAndSet() public method

public GetAndSet ( int index ) : bool
index int
return bool

GetHashCode() public method

public GetHashCode ( ) : int
return int

Iterator() public method

public Iterator ( ) : DocIdSetIterator
return Lucene.Net.Search.DocIdSetIterator

Length() public method

public Length ( ) : int
return int

NextSetBit() public method

Returns the index of the first set bit starting at the index specified. -1 is returned if there are no more set bits.
public NextSetBit ( int index ) : int
index int
return int

Or() public method

public Or ( FixedBitSet other ) : void
other FixedBitSet
return void

PrevSetBit() public method

public PrevSetBit ( int index ) : int
index int
return int

Set() public method

public Set ( int index ) : void
index int
return void

Set() public method

public Set ( int startIndex, int endIndex ) : void
startIndex int
endIndex int
return void

bits2words() public static method

returns the number of 64 bit words it would take to hold numBits
public static bits2words ( int numBits ) : int
numBits int
return int