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