Class Int32BlockPool.Allocator
Abstract class for allocating and freeing int blocks.
Inheritance
Int32BlockPool.Allocator
Inherited Members
Namespace: Lucene.Net.Util
Assembly: Lucene.Net.dll
Syntax
public abstract class Int32BlockPool.Allocator
Constructors
Allocator(int)
Abstract class for allocating and freeing int blocks.
Declaration
protected Allocator(int blockSize)
Parameters
Type | Name | Description |
---|---|---|
int | blockSize |
Fields
m_blockSize
Abstract class for allocating and freeing int blocks.
Declaration
protected readonly int m_blockSize
Field Value
Type | Description |
---|---|
int |
Methods
GetInt32Block()
NOTE: This was getIntBlock() in Lucene
Declaration
public virtual int[] GetInt32Block()
Returns
Type | Description |
---|---|
int[] |
RecycleInt32Blocks(int[][], int, int)
NOTE: This was recycleIntBlocks() in Lucene
Declaration
public abstract void RecycleInt32Blocks(int[][] blocks, int start, int end)
Parameters
Type | Name | Description |
---|---|---|
int[][] | blocks | |
int | start | |
int | end |