Class BytesRefHash.DirectBytesStartArray
A simple BytesRefHash.BytesStartArray that tracks memory allocation using a private Counter instance.
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 class DirectBytesStartArray : BytesRefHash.BytesStartArrayConstructors
| Improve this Doc View SourceDirectBytesStartArray(Int32)
Declaration
public DirectBytesStartArray(int initSize)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Int32 | initSize | 
DirectBytesStartArray(Int32, Counter)
Declaration
public DirectBytesStartArray(int initSize, Counter counter)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Int32 | initSize | |
| Counter | counter | 
Fields
| Improve this Doc View Sourcem_initSize
Declaration
protected readonly int m_initSizeField Value
| Type | Description | 
|---|---|
| System.Int32 | 
Methods
| Improve this Doc View SourceBytesUsed()
Declaration
public override Counter BytesUsed()Returns
| Type | Description | 
|---|---|
| Counter | 
Overrides
| Improve this Doc View SourceClear()
Declaration
public override int[] Clear()Returns
| Type | Description | 
|---|---|
| System.Int32[] | 
Overrides
| Improve this Doc View SourceGrow()
Declaration
public override int[] Grow()Returns
| Type | Description | 
|---|---|
| System.Int32[] | 
Overrides
| Improve this Doc View SourceInit()
Declaration
public override int[] Init()Returns
| Type | Description | 
|---|---|
| System.Int32[] |