Class Int32BlockPool.Allocator
Abstract class for allocating and freeing System.Int32 blocks.
Inheritance
System.Object
Int32BlockPool.Allocator
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Lucene.Net.Util
Assembly: Lucene.Net.dll
Syntax
public abstract class Allocator
Constructors
| Improve this Doc View SourceAllocator(Int32)
Declaration
public Allocator(int blockSize)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | blockSize |
Fields
| Improve this Doc View Sourcem_blockSize
Declaration
protected readonly int m_blockSize
Field Value
Type | Description |
---|---|
System.Int32 |
Methods
| Improve this Doc View SourceGetInt32Block()
NOTE: This was getIntBlock() in Lucene
Declaration
public virtual int[] GetInt32Block()
Returns
Type | Description |
---|---|
System.Int32[] |
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.Int32[][] | blocks | |
System.Int32 | start | |
System.Int32 | end |