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

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

Public Properties

Property Type Description
CachedCount int
CachedIndexOfFirstChangedBlock int

Public Methods

Method Description
CachedCountInfo ( int cachedIndexOfFirstChangedBlock, int cachedCount )

Create new CachedCountInfo with specified CachedIndexOfFirstChangedBlock and CachedCount

Method Details

CachedCountInfo() public method

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
return 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
return int