Class BytesRefHash.BytesStartArray
Manages allocation of the per-term addresses.
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 BytesStartArray
Methods
| Improve this Doc View SourceBytesUsed()
A Counter reference holding the number of bytes used by this BytesRefHash.BytesStartArray. The BytesRefHash uses this reference to track it memory usage.
Declaration
public abstract Counter BytesUsed()
Returns
Type | Description |
---|---|
Counter | a J2N.Threading.Atomic.AtomicInt64 reference holding the number of bytes used by this BytesRefHash.BytesStartArray. |
Clear()
Clears the BytesRefHash.BytesStartArray and returns the cleared instance.
Declaration
public abstract int[] Clear()
Returns
Type | Description |
---|---|
System.Int32[] | The cleared instance, this might be |
Grow()
Grows the BytesRefHash.BytesStartArray.
Declaration
public abstract int[] Grow()
Returns
Type | Description |
---|---|
System.Int32[] | The grown array. |
Init()
Initializes the BytesRefHash.BytesStartArray. This call will allocate memory.
Declaration
public abstract int[] Init()
Returns
Type | Description |
---|---|
System.Int32[] | The initialized bytes start array. |