C# Class Bigio.BigArray.Support_Classes.ArrayMap.BlockInfo

BlockInfo is object with iformation about block and its location.
Afficher le fichier Open project: 80LevelElf/Bigio

Méthodes publiques

Свойство Type Description
CommonStartIndex int
Count int
IndexOfBlock int

Méthodes publiques

Méthode Description
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.

Method Details

BlockInfo() public méthode

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() public méthode

Defines location specified index relative the block.
public Compare ( int index ) : int
index int Specified index to define relative location.
Résultat int

Equals() public méthode

Check equal of current BlockInfo and other BlockInfo.
public Equals ( BlockInfo other ) : bool
other BlockInfo Other to check.
Résultat bool

Property Details

CommonStartIndex public_oe property

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
Résultat int

Count public_oe property

Count of elements inside current block.
public int Count
Résultat int

IndexOfBlock public_oe property

Index of block inside block collection.
public int IndexOfBlock
Résultat int