Class AbstractPagedMutable<T>
Inheritance
System.Object
AbstractPagedMutable<T>
Assembly: Lucene.Net.dll
Syntax
public abstract class AbstractPagedMutable<T> : Int64Values where T : AbstractPagedMutable<T>
Type Parameters
Properties
|
Improve this Doc
View Source
Count
The number of values.
NOTE: This was size() in Lucene.
Declaration
public long Count { get; }
Property Value
Type |
Description |
System.Int64 |
|
Methods
|
Improve this Doc
View Source
BaseRamBytesUsed()
Declaration
protected virtual long BaseRamBytesUsed()
Returns
Type |
Description |
System.Int64 |
|
|
Improve this Doc
View Source
FillPages()
Declaration
protected void FillPages()
|
Improve this Doc
View Source
Get(Int64)
Declaration
public override sealed long Get(long index)
Parameters
Type |
Name |
Description |
System.Int64 |
index |
|
Returns
Type |
Description |
System.Int64 |
|
Overrides
|
Improve this Doc
View Source
Grow()
Declaration
Returns
|
Improve this Doc
View Source
Grow(Int64)
Declaration
public T Grow(long minSize)
Parameters
Type |
Name |
Description |
System.Int64 |
minSize |
|
Returns
|
Improve this Doc
View Source
NewMutable(Int32, Int32)
Declaration
protected abstract PackedInt32s.Mutable NewMutable(int valueCount, int bitsPerValue)
Parameters
Type |
Name |
Description |
System.Int32 |
valueCount |
|
System.Int32 |
bitsPerValue |
|
Returns
|
Improve this Doc
View Source
NewUnfilledCopy(Int64)
Declaration
protected abstract T NewUnfilledCopy(long newSize)
Parameters
Type |
Name |
Description |
System.Int64 |
newSize |
|
Returns
|
Improve this Doc
View Source
RamBytesUsed()
Return the number of bytes used by this object.
Declaration
public virtual long RamBytesUsed()
Returns
Type |
Description |
System.Int64 |
|
|
Improve this Doc
View Source
Resize(Int64)
Create a new copy of size newSize
based on the content of
this buffer. This method is much more efficient than creating a new
instance and copying values one by one.
Declaration
public T Resize(long newSize)
Parameters
Type |
Name |
Description |
System.Int64 |
newSize |
|
Returns
|
Improve this Doc
View Source
Set(Int64, Int64)
Declaration
public void Set(long index, long value)
Parameters
Type |
Name |
Description |
System.Int64 |
index |
|
System.Int64 |
value |
|
|
Improve this Doc
View Source
ToString()
Declaration
public override sealed string ToString()
Returns
Type |
Description |
System.String |
|