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

Helper entity to make storing information about cached element count in ArrayMap{T} more structured.
Afficher le fichier Open project: 80LevelElf/Bigio

Méthodes publiques

Свойство Type Description
CachedCount int
CachedIndexOfFirstChangedBlock int

Méthodes publiques

Méthode Description
CachedCountInfo ( int cachedIndexOfFirstChangedBlock, int cachedCount )

Create new CachedCountInfo with specified CachedIndexOfFirstChangedBlock and CachedCount

Method Details

CachedCountInfo() public méthode

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

Property Details

CachedCount public_oe property

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

CachedIndexOfFirstChangedBlock public_oe property

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