C# Класс Lucene.Net.Spatial.Util.FixedBitSet

Наследование: Lucene.Net.Search.DocIdSet, IBits
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
And ( BitArray otherArr, int otherLen ) : void
AndNot ( BitArray otherArr, int otherLen ) : void
Or ( BitArray otherArr, int otherLen ) : void

Описание методов

And() публичный Метод

public And ( FixedBitSet other ) : void
other FixedBitSet
Результат void

AndNot() публичный Метод

public AndNot ( FixedBitSet other ) : void
other FixedBitSet
Результат void

Bits() публичный Метод

public Bits ( ) : IBits
Результат IBits

Cardinality() публичный Метод

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
Результат int

Clear() публичный Метод

public Clear ( int index ) : void
index int
Результат void

Clear() публичный Метод

public Clear ( int startIndex, int endIndex ) : void
startIndex int
endIndex int
Результат void

Clone() публичный Метод

public Clone ( ) : FixedBitSet
Результат FixedBitSet

Equals() публичный Метод

public Equals ( Object o ) : bool
o Object
Результат bool

FixedBitSet() публичный Метод

Makes full copy.
public FixedBitSet ( FixedBitSet other ) : System
other FixedBitSet
Результат System

FixedBitSet() публичный Метод

public FixedBitSet ( int numBits ) : System
numBits int
Результат System

Get() публичный Метод

public Get ( int index ) : bool
index int
Результат bool

GetAndClear() публичный Метод

public GetAndClear ( int index ) : bool
index int
Результат bool

GetAndSet() публичный Метод

public GetAndSet ( int index ) : bool
index int
Результат bool

GetHashCode() публичный Метод

public GetHashCode ( ) : int
Результат int

Iterator() публичный Метод

public Iterator ( ) : DocIdSetIterator
Результат Lucene.Net.Search.DocIdSetIterator

Length() публичный Метод

public Length ( ) : int
Результат int

NextSetBit() публичный Метод

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
Результат int

Or() публичный Метод

public Or ( FixedBitSet other ) : void
other FixedBitSet
Результат void

PrevSetBit() публичный Метод

public PrevSetBit ( int index ) : int
index int
Результат int

Set() публичный Метод

public Set ( int index ) : void
index int
Результат void

Set() публичный Метод

public Set ( int startIndex, int endIndex ) : void
startIndex int
endIndex int
Результат void

bits2words() публичный статический Метод

returns the number of 64 bit words it would take to hold numBits
public static bits2words ( int numBits ) : int
numBits int
Результат int