C# 클래스 Bigio.BigArray.Support_Classes.ArrayMap.BlockInfo

BlockInfo is object with iformation about block and its location.
파일 보기 프로젝트 열기: 80LevelElf/Bigio

공개 프로퍼티들

프로퍼티 타입 설명
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