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

Helper entity to make storing information about cached element count in ArrayMap{T} more structured.
파일 보기 프로젝트 열기: 80LevelElf/Bigio

공개 프로퍼티들

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