/** @packageDocumentation * @module OrbitGT */ declare type int32 = number; /** * Class CacheList caches a list of items based on last-recently-used order. */ /** @internal */ export declare class CacheList { /** The optional maximum number of entries in the list (no maximum if zero) */ private _maxEntries; /** The list of entries (most used at the back) */ private _entries; /** The number of times a requested item was found in the cache */ hitCount: int32; /** The number of times a requested item was not found in the cache */ missCount: int32; /** * Create a new cache, with an optional non-zero maximum number of entries. */ constructor(maxEntries: int32); /** * Get the number of entries in the cache. */ size(): int32; /** * Clear all entries. */ clear(): void; /** * Find an entry in the cache, or return null if not found. */ findEntry(key: string): T; /** * Add an entry to the cache, pushing out the oldest entry if the cache is full. */ addEntry(key: string, element: T): void; } export {}; //# sourceMappingURL=CacheList.d.ts.map