Table of Contents

Class BasicRecordStore.Record

Namespace
BelNytheraSeiche.TrieDictionary
Assembly
BelNytheraSeiche.TrieDictionary.dll

Represents a single node in a linked list of records.

public sealed class BasicRecordStore.Record
Inheritance
BasicRecordStore.Record
Inherited Members

Properties

Content

Gets or sets the byte array content of this record.

public byte[] Content { get; set; }

Property Value

byte[]

Exceptions

ArgumentNullException

The assigned value is null.

Next

Gets the next record in the list, or null if this is the last record.

public BasicRecordStore.Record? Next { get; }

Property Value

BasicRecordStore.Record

Methods

InsertAfter(ReadOnlySpan<byte>)

Inserts a new record with the specified content immediately after this record in the list.

public BasicRecordStore.Record InsertAfter(ReadOnlySpan<byte> content)

Parameters

content ReadOnlySpan<byte>

The content of the new record to insert.

Returns

BasicRecordStore.Record

The newly inserted BasicRecordStore.Record.

InsertBefore(ReadOnlySpan<byte>)

Inserts a new record with the specified content immediately before this record in the list.

public BasicRecordStore.Record InsertBefore(ReadOnlySpan<byte> content)

Parameters

content ReadOnlySpan<byte>

The content of the new record to insert.

Returns

BasicRecordStore.Record

The newly inserted BasicRecordStore.Record.

Remove()

Removes this record from the list it belongs to.

public void Remove()