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

Helper entity to make storing information about cached element count in ArrayMap{T} more structured.
Показать файл Открыть проект

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

Свойство Тип Описание
CachedCount int
CachedIndexOfFirstChangedBlock int

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

Метод Описание
CachedCountInfo ( int cachedIndexOfFirstChangedBlock, int cachedCount )

Create new CachedCountInfo with specified CachedIndexOfFirstChangedBlock and CachedCount

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

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

Create new CachedCountInfo with specified CachedIndexOfFirstChangedBlock and CachedCount
public CachedCountInfo ( int cachedIndexOfFirstChangedBlock, int cachedCount )
cachedIndexOfFirstChangedBlock int
cachedCount int

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

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

Cached count of elements in ArrayMap{T}. If CachedIndexOfFirstChangedBlock value lead us to current CachedCountInfo is valid then we can use CachedCount to prevent calculcation it one more time.
public int CachedCount
Результат int

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

There we store index of first changed block of ArrayMap{T}. We the help of this value we can understand - is cache out of date?
public int CachedIndexOfFirstChangedBlock
Результат int