C# Класс Bigio.BigArray.Support_Classes.ArrayMap.BlockInfo

BlockInfo is object with iformation about block and its location.
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
CommonStartIndex int
Count int
IndexOfBlock int

Открытые методы

Метод Описание
BlockInfo ( int indexOfBlock, int commonStartIndex, int count )

Create new instance of BlockInfo with specified data.

Compare ( int index ) : int

Defines location specified index relative the block.

Equals ( BlockInfo other ) : bool

Check equal of current BlockInfo and other BlockInfo.

Описание методов

BlockInfo() публичный Метод

Create new instance of BlockInfo with specified data.
public BlockInfo ( int indexOfBlock, int commonStartIndex, int count )
indexOfBlock int Index of block inside block collection.
commonStartIndex int Common start index of current block.
count int Count of elements inside current block.

Compare() публичный Метод

Defines location specified index relative the block.
public Compare ( int index ) : int
index int Specified index to define relative location.
Результат int

Equals() публичный Метод

Check equal of current BlockInfo and other BlockInfo.
public Equals ( BlockInfo other ) : bool
other BlockInfo Other to check.
Результат bool

Описание свойств

CommonStartIndex публичное свойство

Common start index of current block. For example: if there is 2 blocks(both of 100 elements), then CommonStartIndex of first block is 0 and CommonStartIndex of second block is 100(because it starts by 100 element).
public int CommonStartIndex
Результат int

Count публичное свойство

Count of elements inside current block.
public int Count
Результат int

IndexOfBlock публичное свойство

Index of block inside block collection.
public int IndexOfBlock
Результат int