C# Class Lucene.Net.Util.BytesRefHash.BytesStartArray

Manages allocation of the per-term addresses.
显示文件 Open project: apache/lucenenet

Public Methods

Method Description
BytesUsed ( ) : Lucene.Net.Util.Counter

A Counter reference holding the number of bytes used by this BytesStartArray. The BytesRefHash uses this reference to track it memory usage

Clear ( ) : int[]

clears the BytesStartArray and returns the cleared instance.

Grow ( ) : int[]

Grows the BytesStartArray

Init ( ) : int[]

Initializes the BytesStartArray. this call will allocate memory

Method Details

BytesUsed() public abstract method

A Counter reference holding the number of bytes used by this BytesStartArray. The BytesRefHash uses this reference to track it memory usage
public abstract BytesUsed ( ) : Lucene.Net.Util.Counter
return Lucene.Net.Util.Counter

Clear() public abstract method

clears the BytesStartArray and returns the cleared instance.
public abstract Clear ( ) : int[]
return int[]

Grow() public abstract method

Grows the BytesStartArray
public abstract Grow ( ) : int[]
return int[]

Init() public abstract method

Initializes the BytesStartArray. this call will allocate memory
public abstract Init ( ) : int[]
return int[]